summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/monsters/bat.pngbin0 -> 15877 bytes
-rw-r--r--graphics/sprites/monsters/bat.xml50
-rw-r--r--monsters.xml3
3 files changed, 53 insertions, 0 deletions
diff --git a/graphics/sprites/monsters/bat.png b/graphics/sprites/monsters/bat.png
new file mode 100644
index 00000000..f84a1f76
--- /dev/null
+++ b/graphics/sprites/monsters/bat.png
Binary files differ
diff --git a/graphics/sprites/monsters/bat.xml b/graphics/sprites/monsters/bat.xml
new file mode 100644
index 00000000..502325a7
--- /dev/null
+++ b/graphics/sprites/monsters/bat.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/sprites/monsters/bat.png" width="37" height="58"/>
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="4" delay="50" offsetY="0"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="11" end="14" delay="50" offsetY="0"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="24" delay="50" offsetY="0"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="31" end="34" delay="50" offsetY="0"/>
+ </animation>
+ </action>
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="9" offsetY="0"/>
+ </animation>
+ <animation direction="left">
+ <frame index="19" offsetY="0"/>
+ </animation>
+ <animation direction="up">
+ <frame index="29" offsetY="0"/>
+ </animation>
+ <animation direction="right">
+ <frame index="39" offsetY="0"/>
+ </animation>
+ </action>
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="5" end="8" delay="75" offsetY="0"/>
+ <end/>
+ </animation>
+ <animation direction="left">
+ <sequence start="15" end="18" delay="75" offsetY="0"/>
+ <end/>
+ </animation>
+ <animation direction="up">
+ <sequence start="25" end="28" delay="75" offsetY="0"/>
+ <end/>
+ </animation>
+ <animation direction="right">
+ <sequence start="35" end="38" delay="75" offsetY="0"/>
+ <end/>
+ </animation>
+ </action>
+</sprite>
diff --git a/monsters.xml b/monsters.xml
index fc870d7b..4778422b 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -222,4 +222,7 @@ event="" Links the sfx to an action, like die, hit, hurt, miss, move or
<monster id="1038" name="Zombie" targetCursor="medium">
<sprite>monsters/zombie.xml</sprite>
</monster>
+ <monster id="1039" name="Bat" targetCursor="small">
+ <sprite>monsters/BAT.xml</sprite>
+ </monster>
</monsters>