summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/npc-test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites/npcs/npc-test.xml')
-rw-r--r--graphics/sprites/npcs/npc-test.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/sprites/npcs/npc-test.xml b/graphics/sprites/npcs/npc-test.xml
new file mode 100644
index 00000000..7de423e5
--- /dev/null
+++ b/graphics/sprites/npcs/npc-test.xml
@@ -0,0 +1,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>