summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/sprites/CMakeLists.txt4
-rw-r--r--graphics/sprites/monster20.pngbin0 -> 11142 bytes
-rw-r--r--graphics/sprites/monster20.xml42
3 files changed, 45 insertions, 1 deletions
diff --git a/graphics/sprites/CMakeLists.txt b/graphics/sprites/CMakeLists.txt
index a9313b5c..66490b11 100644
--- a/graphics/sprites/CMakeLists.txt
+++ b/graphics/sprites/CMakeLists.txt
@@ -74,6 +74,8 @@ SET(FILES
monster18.xml
monster19.png
monster19.xml
+ monster20.png
+ monster20.xml
npcs.png
npc.xml
player_female_base.png
@@ -85,4 +87,4 @@ SET(FILES
weapons.xml
)
-INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/sprites)
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/sprites) \ No newline at end of file
diff --git a/graphics/sprites/monster20.png b/graphics/sprites/monster20.png
new file mode 100644
index 00000000..c7862685
--- /dev/null
+++ b/graphics/sprites/monster20.png
Binary files differ
diff --git a/graphics/sprites/monster20.xml b/graphics/sprites/monster20.xml
new file mode 100644
index 00000000..b68d833d
--- /dev/null
+++ b/graphics/sprites/monster20.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="base" src="graphics/sprites/monster##.png" width="60" height="60" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <sequence start="0" end="2" delay="200" />
+ </animation>
+ <animation direction="right">
+ <sequence start="3" end="5" delay="200" />
+ </animation>
+ <animation direction="left">
+ <sequence start="6" end="8" delay="200" />
+ </animation>
+ <animation direction="up">
+ <sequence start="9" end="11" delay="200" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="12" end="14" delay="200" />
+ </animation>
+ <animation direction="right">
+ <sequence start="15" end="17" delay="200" />
+ </animation>
+ <animation direction="left">
+ <sequence start="18" end="20" delay="200" />
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="23" delay="200" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="default">
+ <sequence start="24" end="28" delay="200" />
+ <frame index="28" delay="0" />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file