summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2009-01-10 10:38:12 +0100
committerPhilipp Sehmisch <tmw@crushnet.org>2009-01-10 10:38:54 +0100
commit61a082e4567c1c8d553883de68b11064b12c55ac (patch)
treeb73eb3e842db3a398d2f2f2197999a0f651afdda
parent0c63e48187379692cf9d7f4bf95d7d26299ebc87 (diff)
downloadclientdata-61a082e4567c1c8d553883de68b11064b12c55ac.tar.gz
clientdata-61a082e4567c1c8d553883de68b11064b12c55ac.tar.bz2
clientdata-61a082e4567c1c8d553883de68b11064b12c55ac.tar.xz
clientdata-61a082e4567c1c8d553883de68b11064b12c55ac.zip
Added Zombie monster by FotherJ. Animation timing could still need some fine-tuning.
-rw-r--r--graphics/sprites/monster-zombie.pngbin0 -> 80136 bytes
-rw-r--r--graphics/sprites/monster-zombie.xml62
-rw-r--r--monsters.xml17
3 files changed, 79 insertions, 0 deletions
diff --git a/graphics/sprites/monster-zombie.png b/graphics/sprites/monster-zombie.png
new file mode 100644
index 00000000..51a9c5be
--- /dev/null
+++ b/graphics/sprites/monster-zombie.png
Binary files differ
diff --git a/graphics/sprites/monster-zombie.xml b/graphics/sprites/monster-zombie.xml
new file mode 100644
index 00000000..5f696f88
--- /dev/null
+++ b/graphics/sprites/monster-zombie.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<sprite>
+
+ <imageset name="base" src="graphics/sprites/monster-zombie.png" width="64" height="64" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0"/>
+ </animation>
+ <animation direction="right">
+ <frame index="7"/>
+ </animation>
+ <animation direction="up">
+ <frame index="21"/>
+ </animation>
+ <animation direction="left">
+ <frame index="14"/>
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="6" delay="200"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="8" end="13" delay="200"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="27" delay="200"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="14" end="20" delay="200"/>
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <sequence start="44" end="55" delay="100"/>
+ <frame index="55" delay="0" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="28" end="31" delay="100"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <sequence start="32" end="35" delay="100"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <sequence start="40" end="43" delay="100"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <sequence start="36" end="39" delay="100"/>
+ <end />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file
diff --git a/monsters.xml b/monsters.xml
index 67ed3a76..ebe9ac63 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -843,4 +843,21 @@
/>
</monster>
+ <monster id="34" name="Zombie">
+ <sprite>monster-zombie.xml</sprite>
+ <attributes
+ hp="20"
+ size="4"
+ speed="64"
+ attack-min="10"
+ attack-delta="2"
+ attack-magic="0"
+ hit="10"
+ evade="5"
+ physical-defence="5"
+ magical-defence="0"
+ mutation="50"
+ />
+ </monster>
+
</monsters>