summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/npc-test.xml
blob: 7de423e5f43a51b18ffb22162c207b1bb3117022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version = '1.0'?>
<sprite action="stand" name="npc" >
  <imageset width="64" height="64" name="base" src="graphics/sprites/npcs/npc-test.png" />
  <action imageset="base" name="stand" >
    <animation direction="down" >
      <frame index="0" />
    </animation>
    <animation direction="left" >
      <frame index="7" />
    </animation>
    <animation direction="up" >
      <frame index="14" />
    </animation>
    <animation direction="right" >
      <frame index="21" />
    </animation>
  </action>
  <action imageset="base" name="walk" >
    <animation direction="down" >
      <sequence end="6" delay="75" start="1" />
    </animation>
    <animation direction="left" >
      <sequence end="13" delay="75" start="8" />
    </animation>
    <animation direction="up" >
      <sequence end="20" delay="75" start="15" />
    </animation>
    <animation direction="right" >
      <sequence end="27" delay="75" start="22" />
    </animation>
  </action>
</sprite>