diff options
Diffstat (limited to 'example/clientdata/graphics/sprites/weapons')
-rw-r--r-- | example/clientdata/graphics/sprites/weapons/weapon-bow.png | bin | 0 -> 5751 bytes | |||
-rw-r--r-- | example/clientdata/graphics/sprites/weapons/weapon-bow.xml | 26 | ||||
-rw-r--r-- | example/clientdata/graphics/sprites/weapons/weapon-fist.xml | 7 | ||||
-rw-r--r-- | example/clientdata/graphics/sprites/weapons/weapon-sword.png | bin | 0 -> 2016 bytes | |||
-rw-r--r-- | example/clientdata/graphics/sprites/weapons/weapon-sword.xml | 27 |
5 files changed, 60 insertions, 0 deletions
diff --git a/example/clientdata/graphics/sprites/weapons/weapon-bow.png b/example/clientdata/graphics/sprites/weapons/weapon-bow.png Binary files differnew file mode 100644 index 00000000..b5f8a68e --- /dev/null +++ b/example/clientdata/graphics/sprites/weapons/weapon-bow.png diff --git a/example/clientdata/graphics/sprites/weapons/weapon-bow.xml b/example/clientdata/graphics/sprites/weapons/weapon-bow.xml new file mode 100644 index 00000000..7580776c --- /dev/null +++ b/example/clientdata/graphics/sprites/weapons/weapon-bow.xml @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="bow" src="graphics/sprites/weapons/weapon-bow.png" width="64" height="64" /> + + <action name="default" imageset="bow"> + </action> + + <action name="attack_bow" imageset="bow"> + <animation direction="down"> + <sequence start="0" end="4" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="5" end="9" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="10" end="14" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="15" end="19" delay="75" /> + <end /> + </animation> + </action> +</sprite>
\ No newline at end of file diff --git a/example/clientdata/graphics/sprites/weapons/weapon-fist.xml b/example/clientdata/graphics/sprites/weapons/weapon-fist.xml new file mode 100644 index 00000000..324dfd5b --- /dev/null +++ b/example/clientdata/graphics/sprites/weapons/weapon-fist.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="dagger" src="graphics/sprites/weapon-sword.png" width="64" height="64" /> + + <action name="default" imageset="dagger"> + </action> +</sprite>
\ No newline at end of file diff --git a/example/clientdata/graphics/sprites/weapons/weapon-sword.png b/example/clientdata/graphics/sprites/weapons/weapon-sword.png Binary files differnew file mode 100644 index 00000000..f691ef3f --- /dev/null +++ b/example/clientdata/graphics/sprites/weapons/weapon-sword.png diff --git a/example/clientdata/graphics/sprites/weapons/weapon-sword.xml b/example/clientdata/graphics/sprites/weapons/weapon-sword.xml new file mode 100644 index 00000000..1909aff6 --- /dev/null +++ b/example/clientdata/graphics/sprites/weapons/weapon-sword.xml @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + <imageset name="dagger" src="graphics/sprites/weapons/weapon-sword.png" width="64" height="64" /> + + <action name="default" imageset="dagger"> + </action> + + <action name="attack_stab" imageset="dagger"> + <animation direction="down"> + <sequence start="0" end="3" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="4" end="7" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="8" end="11" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="12" end="15" delay="75" /> + <end /> + </animation> + </action> + +</sprite>
\ No newline at end of file |