summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/monster-zombie.pngbin0 -> 80136 bytes
-rw-r--r--graphics/sprites/monster-zombie.xml62
-rw-r--r--graphics/sprites/npc-creepysurgeon.xml56
-rw-r--r--monsters.xml17
4 files changed, 107 insertions, 28 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..244ba926
--- /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>
diff --git a/graphics/sprites/npc-creepysurgeon.xml b/graphics/sprites/npc-creepysurgeon.xml
index 9542317d..ec63ae25 100644
--- a/graphics/sprites/npc-creepysurgeon.xml
+++ b/graphics/sprites/npc-creepysurgeon.xml
@@ -1,28 +1,28 @@
-<?xml version="1.0"?>
-<sprite>
- <imageset name="base" src="graphics/sprites/npc-creepysurgeon.png" width="50" height="70" />
- <action name="stand" imageset="base">
- <animation direction="default">
- <!-- Scissor demonstration -->
- <sequence start="1" end="9" delay="200" />
- <frame index="10" delay="500"/>
- <frame index="11" delay="500"/>
- <frame index="10" delay="500"/>
- <frame index="11" delay="500"/>
- <frame index="10" delay="500"/>
- <frame index="11" delay="500"/>
- <frame index="10" delay="500"/>
- <frame index="12" delay="300"/>
- <frame index="13" delay="1000"/>
- <sequence start="14" end="16" delay="400" />
- <frame index="0" delay="3000"/>
- <!-- blinking -->
- <frame index="19" delay="500"/>
- <frame index="0" delay="3000"/>
- <!-- checking pocket -->
- <frame index="12" delay="1000"/>
- <sequence start="14" end="16" delay="400" />
- <frame index="0" delay="3000"/>
- </animation>
- </action>
-</sprite> \ No newline at end of file
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/sprites/npc-creepysurgeon.png" width="50" height="70" />
+ <action name="stand" imageset="base">
+ <animation direction="default">
+ <!-- Scissor demonstration -->
+ <sequence start="1" end="9" delay="200" />
+ <frame index="10" delay="500"/>
+ <frame index="11" delay="500"/>
+ <frame index="10" delay="500"/>
+ <frame index="11" delay="500"/>
+ <frame index="10" delay="500"/>
+ <frame index="11" delay="500"/>
+ <frame index="10" delay="500"/>
+ <frame index="12" delay="300"/>
+ <frame index="13" delay="1000"/>
+ <sequence start="14" end="16" delay="400" />
+ <frame index="0" delay="3000"/>
+ <!-- blinking -->
+ <frame index="19" delay="500"/>
+ <frame index="0" delay="3000"/>
+ <!-- checking pocket -->
+ <frame index="12" delay="1000"/>
+ <sequence start="14" end="16" delay="400" />
+ <frame index="0" delay="3000"/>
+ </animation>
+ </action>
+</sprite>
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>