summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapons.xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sprites/weapons.xml')
-rw-r--r--graphics/sprites/weapons.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/sprites/weapons.xml b/graphics/sprites/weapons.xml
new file mode 100644
index 00000000..d3430507
--- /dev/null
+++ b/graphics/sprites/weapons.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<sprite name="player" action="stand">
+
+ <imageset name="dagger" src="graphics/sprites/weapon0.png" width="64" height="64" />
+ <imageset name="bow" src="graphics/sprites/weapon1.png" width="64" height="64" />
+
+ <action name="" imageset="base">
+ <animation direction="default">
+ </animation>
+ </action>
+
+ <action name="attack_stab" imageset="dagger">
+ <animation direction="down">
+ <sequence start="0" end="3" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="4" end="7" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="8" end="11" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="12" end="15" delay="75" />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="bow">
+ <animation direction="down">
+ <sequence start="0" end="4" delay="75" />
+ </animation>
+ <animation direction="left">
+ <sequence start="5" end="9" delay="75" />
+ </animation>
+ <animation direction="up">
+ <sequence start="10" end="14" delay="75" />
+ </animation>
+ <animation direction="right">
+ <sequence start="15" end="19" delay="75" />
+ </animation>
+ </action>
+
+</sprite> \ No newline at end of file