summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/junglefowl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites/monsters/junglefowl.xml')
-rw-r--r--graphics/sprites/monsters/junglefowl.xml107
1 files changed, 107 insertions, 0 deletions
diff --git a/graphics/sprites/monsters/junglefowl.xml b/graphics/sprites/monsters/junglefowl.xml
new file mode 100644
index 00000000..fb3fc81b
--- /dev/null
+++ b/graphics/sprites/monsters/junglefowl.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0"?>
+<!--
+Frame map:
+
+ s s s w w w a/w a a a a d
+l 0 1 2 3 4 5 6 7 8 9 10 11
+r 12 13 14 15 16 17 18 19 20 21 22 23
+d 24 25 26 27 28 29 30 31 32 33 34 35
+u 36 37 38 39 40 41 42 43 44 45 46 47
+
+a = attack
+d = death
+s = stand
+w = walk
+
+l = left
+r = right
+d = down
+u = up
+-->
+<sprite>
+ <imageset name="base" src="graphics/sprites/monsters/junglefowl.png|W" width="50" height="50"/>
+ <action name="stand" imageset="base">
+ <animation direction="left">
+ <frame index="0" delay="800"/>
+ <frame index="1" delay="300"/>
+ <frame index="2" delay="400"/>
+ <frame index="1" delay="300"/>
+ <frame index="2" delay="400"/>
+ <frame index="1" delay="300"/>
+ <frame index="0" delay="500"/>
+ </animation>
+ <animation direction="right">
+ <frame index="12" delay="800"/>
+ <frame index="13" delay="300"/>
+ <frame index="14" delay="400"/>
+ <frame index="13" delay="300"/>
+ <frame index="14" delay="400"/>
+ <frame index="13" delay="300"/>
+ <frame index="12" delay="500"/>
+ </animation>
+ <animation direction="down">
+ <frame index="24" delay="800"/>
+ <frame index="25" delay="300"/>
+ <frame index="26" delay="400"/>
+ <frame index="25" delay="300"/>
+ <frame index="26" delay="400"/>
+ <frame index="25" delay="300"/>
+ <frame index="24" delay="500"/>
+ </animation>
+ <animation direction="up">
+ <frame index="36" delay="800"/>
+ <frame index="37" delay="300"/>
+ <frame index="38" delay="400"/>
+ <frame index="37" delay="300"/>
+ <frame index="38" delay="400"/>
+ <frame index="37" delay="300"/>
+ <frame index="36" delay="500"/>
+ </animation>
+ </action>
+ <action name="walk" imageset="base">
+ <animation direction="left">
+ <sequence start="3" end="6" delay="100"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="15" end="18" delay="100"/>
+ </animation>
+ <animation direction="down">
+ <sequence start="27" end="30" delay="100"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="39" end="42" delay="100"/>
+ </animation>
+ </action>
+ <action name="dead" imageset="base">
+ <animation direction="left">
+ <frame index="11" delay="0"/>
+ </animation>
+ <animation direction="right">
+ <frame index="23" delay="0"/>
+ </animation>
+ <animation direction="down">
+ <frame index="35" delay="0"/>
+ </animation>
+ <animation direction="up">
+ <frame index="47" delay="0"/>
+ </animation>
+ </action>
+ <action name="attack" imageset="base">
+ <animation direction="left">
+ <sequence start="6" end="10" delay="70"/>
+ <end/>
+ </animation>
+ <animation direction="right">
+ <sequence start="18" end="22" delay="70"/>
+ <end/>
+ </animation>
+ <animation direction="down">
+ <sequence start="30" end="34" delay="70"/>
+ <end/>
+ </animation>
+ <animation direction="up">
+ <sequence start="42" end="46" delay="70"/>
+ <end/>
+ </animation>
+ </action>
+</sprite>