diff options
Diffstat (limited to 'example/graphics')
140 files changed, 2084 insertions, 0 deletions
diff --git a/example/graphics/items/crafting/generic-ingot.png b/example/graphics/items/crafting/generic-ingot.png Binary files differnew file mode 100644 index 00000000..0dc7b1e7 --- /dev/null +++ b/example/graphics/items/crafting/generic-ingot.png diff --git a/example/graphics/items/crafting/generic-rawlog.png b/example/graphics/items/crafting/generic-rawlog.png Binary files differnew file mode 100644 index 00000000..038d5a5f --- /dev/null +++ b/example/graphics/items/crafting/generic-rawlog.png diff --git a/example/graphics/items/equipment/chest/chest-leathershirt.png b/example/graphics/items/equipment/chest/chest-leathershirt.png Binary files differnew file mode 100644 index 00000000..761b9bf6 --- /dev/null +++ b/example/graphics/items/equipment/chest/chest-leathershirt.png diff --git a/example/graphics/items/equipment/feet/boots.png b/example/graphics/items/equipment/feet/boots.png Binary files differnew file mode 100644 index 00000000..9f9913ff --- /dev/null +++ b/example/graphics/items/equipment/feet/boots.png diff --git a/example/graphics/items/equipment/legs/pants.png b/example/graphics/items/equipment/legs/pants.png Binary files differnew file mode 100644 index 00000000..c50daf22 --- /dev/null +++ b/example/graphics/items/equipment/legs/pants.png diff --git a/example/graphics/items/equipment/weapons/weapon-bow-bow.png b/example/graphics/items/equipment/weapons/weapon-bow-bow.png Binary files differnew file mode 100644 index 00000000..2ab672dc --- /dev/null +++ b/example/graphics/items/equipment/weapons/weapon-bow-bow.png diff --git a/example/graphics/items/equipment/weapons/weapon-dagger-dagger.png b/example/graphics/items/equipment/weapons/weapon-dagger-dagger.png Binary files differnew file mode 100644 index 00000000..cdfc3708 --- /dev/null +++ b/example/graphics/items/equipment/weapons/weapon-dagger-dagger.png diff --git a/example/graphics/items/equipment/weapons/weapon-sword-sword.png b/example/graphics/items/equipment/weapons/weapon-sword-sword.png Binary files differnew file mode 100644 index 00000000..571fb40e --- /dev/null +++ b/example/graphics/items/equipment/weapons/weapon-sword-sword.png diff --git a/example/graphics/items/unknown.png b/example/graphics/items/unknown.png Binary files differnew file mode 100644 index 00000000..9201d688 --- /dev/null +++ b/example/graphics/items/unknown.png diff --git a/example/graphics/items/usable/usable-candy.png b/example/graphics/items/usable/usable-candy.png Binary files differnew file mode 100644 index 00000000..e3d75c21 --- /dev/null +++ b/example/graphics/items/usable/usable-candy.png diff --git a/example/graphics/items/usable/usable-minor-health-potion.png b/example/graphics/items/usable/usable-minor-health-potion.png Binary files differnew file mode 100644 index 00000000..a404d6f6 --- /dev/null +++ b/example/graphics/items/usable/usable-minor-health-potion.png diff --git a/example/graphics/items/usable/usable-regenerative-trinket.png b/example/graphics/items/usable/usable-regenerative-trinket.png Binary files differnew file mode 100644 index 00000000..ba69b570 --- /dev/null +++ b/example/graphics/items/usable/usable-regenerative-trinket.png diff --git a/example/graphics/items/usable/usable-token-of-speed.png b/example/graphics/items/usable/usable-token-of-speed.png Binary files differnew file mode 100644 index 00000000..25c712f9 --- /dev/null +++ b/example/graphics/items/usable/usable-token-of-speed.png diff --git a/example/graphics/particles/arrow-down.png b/example/graphics/particles/arrow-down.png Binary files differnew file mode 100644 index 00000000..da94afcf --- /dev/null +++ b/example/graphics/particles/arrow-down.png diff --git a/example/graphics/particles/arrow-hail.xml b/example/graphics/particles/arrow-hail.xml new file mode 100644 index 00000000..5372e9a3 --- /dev/null +++ b/example/graphics/particles/arrow-hail.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "400" + lifetime = "100" + > + <!-- <property name="follow-parent" value="0"/> --> + <emitter><!-- <property name="follow-parent" value="0"/> --> + <property name="lifetime" min="180" max="180"/> + <property name="position-x" min="105" max="145"/> + <property name="position-y" min="-20" max="20"/> + <property name="vertical-angle" value="255"/> + <property name="power" value="14"/> + <property name="output" min="0" max="1"/> + <property name="output-pause" min="10" max="20"/> + <property name="gravity" value="0.09"/> + <property name="image" value="graphics/particles/arrow-down.png"/> + </emitter> + </particle> +</effect> diff --git a/example/graphics/particles/arrow.particle.xml b/example/graphics/particles/arrow.particle.xml new file mode 100644 index 00000000..e19e2205 --- /dev/null +++ b/example/graphics/particles/arrow.particle.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "32" + lifetime = "128" + > + <rotation imageset="graphics/particles/arrowh.png" width="16" height="16"> + <sequence start="0" end="7" /> + </rotation> + </particle> +</effect> diff --git a/example/graphics/particles/arrowh.png b/example/graphics/particles/arrowh.png Binary files differnew file mode 100644 index 00000000..11826070 --- /dev/null +++ b/example/graphics/particles/arrowh.png diff --git a/example/graphics/particles/attack.particle.xml b/example/graphics/particles/attack.particle.xml new file mode 100644 index 00000000..c8dc5f3e --- /dev/null +++ b/example/graphics/particles/attack.particle.xml @@ -0,0 +1,60 @@ +<?xml version="1.0"?> + +<!-- +A burst of red particles emitted in a narrow, horizontal cone. Could be +used to visualize some kind of special attack. +--> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "16" + lifetime = "1" + > + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="0" max="45"/> + <property name="horizontal-angle" min="45" max="135"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="100"/> + <property name="image" value="graphics/particles/orb-small.png|W:#ff0000"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="0" max="45"/> + <property name="horizontal-angle" min="45" max="135"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/star-small.png|W:#ff0000,ffffff"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="0" max="45"/> + <property name="horizontal-angle" min="45" max="135"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/orb-medium.png|W:#ff0000"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="0" max="45"/> + <property name="horizontal-angle" min="45" max="135"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/star-medium.png|W:#ff0000,ffffff"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="3" max="6"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/example/graphics/particles/emotes/angel.png b/example/graphics/particles/emotes/angel.png Binary files differnew file mode 100644 index 00000000..043d0755 --- /dev/null +++ b/example/graphics/particles/emotes/angel.png diff --git a/example/graphics/particles/emotes/blah.png b/example/graphics/particles/emotes/blah.png Binary files differnew file mode 100644 index 00000000..3eae88a2 --- /dev/null +++ b/example/graphics/particles/emotes/blah.png diff --git a/example/graphics/particles/emotes/blush.png b/example/graphics/particles/emotes/blush.png Binary files differnew file mode 100644 index 00000000..22172ae0 --- /dev/null +++ b/example/graphics/particles/emotes/blush.png diff --git a/example/graphics/particles/emotes/disgust.png b/example/graphics/particles/emotes/disgust.png Binary files differnew file mode 100644 index 00000000..9965f89d --- /dev/null +++ b/example/graphics/particles/emotes/disgust.png diff --git a/example/graphics/particles/emotes/emote-angel.particle.xml b/example/graphics/particles/emotes/emote-angel.particle.xml new file mode 100644 index 00000000..a4bb1b53 --- /dev/null +++ b/example/graphics/particles/emotes/emote-angel.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/angel.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-blah.particle.xml b/example/graphics/particles/emotes/emote-blah.particle.xml new file mode 100644 index 00000000..38cb327a --- /dev/null +++ b/example/graphics/particles/emotes/emote-blah.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/blah.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-blush.particle.xml b/example/graphics/particles/emotes/emote-blush.particle.xml new file mode 100644 index 00000000..11d2689d --- /dev/null +++ b/example/graphics/particles/emotes/emote-blush.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/blush.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-disgust.particle.xml b/example/graphics/particles/emotes/emote-disgust.particle.xml new file mode 100644 index 00000000..b04d18dd --- /dev/null +++ b/example/graphics/particles/emotes/emote-disgust.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/disgust.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-evil.particle.xml b/example/graphics/particles/emotes/emote-evil.particle.xml new file mode 100644 index 00000000..433aef30 --- /dev/null +++ b/example/graphics/particles/emotes/emote-evil.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/evil.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-grin.particle.xml b/example/graphics/particles/emotes/emote-grin.particle.xml new file mode 100644 index 00000000..5c50aa98 --- /dev/null +++ b/example/graphics/particles/emotes/emote-grin.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/grin.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-happy.particle.xml b/example/graphics/particles/emotes/emote-happy.particle.xml new file mode 100644 index 00000000..fa43997f --- /dev/null +++ b/example/graphics/particles/emotes/emote-happy.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/happy.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-perturbed.particle.xml b/example/graphics/particles/emotes/emote-perturbed.particle.xml new file mode 100644 index 00000000..47f92e30 --- /dev/null +++ b/example/graphics/particles/emotes/emote-perturbed.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/perturbed.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-sad.particle.xml b/example/graphics/particles/emotes/emote-sad.particle.xml new file mode 100644 index 00000000..0e0b7dc8 --- /dev/null +++ b/example/graphics/particles/emotes/emote-sad.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/sad.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-speech.particle.xml b/example/graphics/particles/emotes/emote-speech.particle.xml new file mode 100644 index 00000000..7d6350b0 --- /dev/null +++ b/example/graphics/particles/emotes/emote-speech.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/speech.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-surprise.particle.xml b/example/graphics/particles/emotes/emote-surprise.particle.xml new file mode 100644 index 00000000..29498c8f --- /dev/null +++ b/example/graphics/particles/emotes/emote-surprise.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/surprise.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-tongue.particle.xml b/example/graphics/particles/emotes/emote-tongue.particle.xml new file mode 100644 index 00000000..2796ac6c --- /dev/null +++ b/example/graphics/particles/emotes/emote-tongue.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/tongue.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-upset.particle.xml b/example/graphics/particles/emotes/emote-upset.particle.xml new file mode 100644 index 00000000..4b10d9f2 --- /dev/null +++ b/example/graphics/particles/emotes/emote-upset.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/upset.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/emote-wink.particle.xml b/example/graphics/particles/emotes/emote-wink.particle.xml new file mode 100644 index 00000000..b217a649 --- /dev/null +++ b/example/graphics/particles/emotes/emote-wink.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "96"
+ lifetime = "1"
+ >
+ <emitter>
+ <property name="position-x" value="0"/>
+ <property name="position-y" value="0"/>
+ <property name="position-z" value="-32"/>
+ <property name="lifetime" value="80"/>
+ <property name="fade-out" value="50" />
+ <property name="gravity" value="-0.02" />
+
+ <animation imageset="graphics/particles/emotes/wink.png" width="30" height="32">
+ <frame index="0" />
+ </animation>
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/example/graphics/particles/emotes/evil.png b/example/graphics/particles/emotes/evil.png Binary files differnew file mode 100644 index 00000000..7c417ec6 --- /dev/null +++ b/example/graphics/particles/emotes/evil.png diff --git a/example/graphics/particles/emotes/grin.png b/example/graphics/particles/emotes/grin.png Binary files differnew file mode 100644 index 00000000..0c21cfe8 --- /dev/null +++ b/example/graphics/particles/emotes/grin.png diff --git a/example/graphics/particles/emotes/happy.png b/example/graphics/particles/emotes/happy.png Binary files differnew file mode 100644 index 00000000..8ca2930e --- /dev/null +++ b/example/graphics/particles/emotes/happy.png diff --git a/example/graphics/particles/emotes/perturbed.png b/example/graphics/particles/emotes/perturbed.png Binary files differnew file mode 100644 index 00000000..0a33e0ad --- /dev/null +++ b/example/graphics/particles/emotes/perturbed.png diff --git a/example/graphics/particles/emotes/sad.png b/example/graphics/particles/emotes/sad.png Binary files differnew file mode 100644 index 00000000..3ceb3caf --- /dev/null +++ b/example/graphics/particles/emotes/sad.png diff --git a/example/graphics/particles/emotes/speech.png b/example/graphics/particles/emotes/speech.png Binary files differnew file mode 100644 index 00000000..72044719 --- /dev/null +++ b/example/graphics/particles/emotes/speech.png diff --git a/example/graphics/particles/emotes/surprise.png b/example/graphics/particles/emotes/surprise.png Binary files differnew file mode 100644 index 00000000..e1649a63 --- /dev/null +++ b/example/graphics/particles/emotes/surprise.png diff --git a/example/graphics/particles/emotes/tongue.png b/example/graphics/particles/emotes/tongue.png Binary files differnew file mode 100644 index 00000000..0d5bc959 --- /dev/null +++ b/example/graphics/particles/emotes/tongue.png diff --git a/example/graphics/particles/emotes/upset.png b/example/graphics/particles/emotes/upset.png Binary files differnew file mode 100644 index 00000000..b2f0ce2b --- /dev/null +++ b/example/graphics/particles/emotes/upset.png diff --git a/example/graphics/particles/emotes/wink.png b/example/graphics/particles/emotes/wink.png Binary files differnew file mode 100644 index 00000000..13488bb8 --- /dev/null +++ b/example/graphics/particles/emotes/wink.png diff --git a/example/graphics/particles/fullbubble-16px.png b/example/graphics/particles/fullbubble-16px.png Binary files differnew file mode 100644 index 00000000..93e3b57f --- /dev/null +++ b/example/graphics/particles/fullbubble-16px.png diff --git a/example/graphics/particles/green-bubbles.particle.xml b/example/graphics/particles/green-bubbles.particle.xml new file mode 100644 index 00000000..e272d85c --- /dev/null +++ b/example/graphics/particles/green-bubbles.particle.xml @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<!-- +Green poison bubbles +--> +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "0" + > + <emitter> + <property name="position-z" value="90" /> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="0" max="90"/> + <property name="horizontal-angle" min="0" max="360"/> + <property name="power" min="4" max="15"/> + <property name="lifetime" value="1"/> + <property name="output" value="1"/> + <emitter> + <property name="gravity" value="-0.1"/> + <property name="momentum" value="0.9"/> + <animation imageset="graphics/particles/fullbubble-16px.png|W:#80ff80,40a020" width="16" height="16"> + <frame index="0" delay="80" /> + <frame index="1" delay="80" /> + <frame index="2" delay="80" /> + <frame index="3" delay="80" /> + <frame index="4" delay="80" /> + <frame index="5" delay="30" /> + <frame index="6" delay="20" /> + <frame index="7" delay="-1" /> + </animation> + <property name="lifetime" value="45"/> + <property name="fade-in" value="0"/> + <property name="fade-out" value="10"/> + <property name="output" min="0" max="1"/> + <property name="output-pause" min="30" max="80"/> + </emitter> + </emitter> + </particle> +</effect> diff --git a/example/graphics/particles/hit.particle.xml b/example/graphics/particles/hit.particle.xml new file mode 100644 index 00000000..c5c295fc --- /dev/null +++ b/example/graphics/particles/hit.particle.xml @@ -0,0 +1,59 @@ +<?xml version="1.0"?> + +<!-- +An explosion of white particles. +--> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "16" + lifetime = "1" + > + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="45" max="90"/> + <property name="horizontal-angle" min="0" max="360"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/orb-small.png"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="45" max="90"/> + <property name="horizontal-angle" min="0" max="360"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/star-small.png|W:#ffffff,ffffff"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="45" max="90"/> + <property name="horizontal-angle" min="0" max="360"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/orb-medium.png"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="6" max="12"/> + </emitter> + <emitter> + <property name="position-x" min="-8" max="8"/> + <property name="position-y" min="-8" max="8"/> + <property name="vertical-angle" min="45" max="90"/> + <property name="horizontal-angle" min="0" max="360"/> + <property name="power" min="0" max="6"/> + <property name="gravity" value="0.1"/> + <property name="image" value="graphics/particles/star-medium.png|W:#ffffff,ffffff"/> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="3" max="6"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/example/graphics/particles/levelup.particle.xml b/example/graphics/particles/levelup.particle.xml new file mode 100644 index 00000000..0c80626b --- /dev/null +++ b/example/graphics/particles/levelup.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<!-- +Red stars which are supposed to engulf a character +--> +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "0" + lifetime = "128" + > + <emitter> + <property name="image" value="graphics/particles/star-medium.png|W:#ff0000,ffffff"/> + <property name="vertical-angle" value="90"/> + <property name="power" value="2"/> + <property name="lifetime" value="36"/> + <property name="output" min="-5" max="1"/> + <property name="position-x" min="-16" max="16"/> + <property name="position-y" min="-16" max="16"/> + <property name="position-z" min="0" max="32"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/example/graphics/particles/magic.white.xml b/example/graphics/particles/magic.white.xml new file mode 100644 index 00000000..5304b77f --- /dev/null +++ b/example/graphics/particles/magic.white.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "0" + lifetime = "128" + > + <emitter> + <animation imageset="graphics/particles/sparkle.png|W:#e0e0e0,ffffff" width="15" height="15"> + <sequence start="0" end="3" delay="50" /> + <frame index="0" delay="100" /> + </animation> + <property name="vertical-angle" value="90"/> + <property name="power" min="1" max="1"/> + <property name="lifetime" min="15" max="25"/> + <property name="output" min="1" max="1"/> + <property name="position-x" min="-16" max="16"/> + <property name="position-y" min="-16" max="16"/> + <property name="position-z" min="29" max="40"/> + </emitter> + </particle> +</effect> diff --git a/example/graphics/particles/orb-medium.png b/example/graphics/particles/orb-medium.png Binary files differnew file mode 100644 index 00000000..eb896c85 --- /dev/null +++ b/example/graphics/particles/orb-medium.png diff --git a/example/graphics/particles/orb-small.png b/example/graphics/particles/orb-small.png Binary files differnew file mode 100644 index 00000000..47cf957f --- /dev/null +++ b/example/graphics/particles/orb-small.png diff --git a/example/graphics/particles/skillup.particle.xml b/example/graphics/particles/skillup.particle.xml new file mode 100644 index 00000000..91d79e7a --- /dev/null +++ b/example/graphics/particles/skillup.particle.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<!-- +Green stars which are supposed to engulf a character +--> +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "0" + lifetime = "128" + > + <emitter> + <property name="image" value="graphics/particles/star-medium.png|W:#00ff00,ffffff"/> + <property name="vertical-angle" value="90"/> + <property name="power" value="2"/> + <property name="lifetime" value="36"/> + <property name="output" min="-5" max="1"/> + <property name="position-x" min="-16" max="16"/> + <property name="position-y" min="-16" max="16"/> + <property name="position-z" min="0" max="32"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/example/graphics/particles/sparkle.png b/example/graphics/particles/sparkle.png Binary files differnew file mode 100644 index 00000000..7cfbbb26 --- /dev/null +++ b/example/graphics/particles/sparkle.png diff --git a/example/graphics/particles/star-medium.png b/example/graphics/particles/star-medium.png Binary files differnew file mode 100644 index 00000000..667d2334 --- /dev/null +++ b/example/graphics/particles/star-medium.png diff --git a/example/graphics/particles/star-small.png b/example/graphics/particles/star-small.png Binary files differnew file mode 100644 index 00000000..4c3bf365 --- /dev/null +++ b/example/graphics/particles/star-small.png diff --git a/example/graphics/particles/warparea.particle.xml b/example/graphics/particles/warparea.particle.xml new file mode 100644 index 00000000..f4984232 --- /dev/null +++ b/example/graphics/particles/warparea.particle.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<!-- +Fancy fireworks effect which fills the whole screen. +--> +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "1" + size-adjustable = "true" + > + <emitter> + <property name="position-x" min="0" max="32"/> + <property name="position-y" min="0" max="48"/> + <property name="image" value="graphics/particles/star-small.png"/> + <property name="gravity" value="-0.003"/> + <property name="lifetime" value="90"/> + <property name="output" min="0" max="1"/> + <property name="output-pause" min="0" max="10"/> + <property name="fade-in" value="30"/> + <property name="fade-out" value="30"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/example/graphics/skills/axe.png b/example/graphics/skills/axe.png Binary files differnew file mode 100644 index 00000000..b2af0347 --- /dev/null +++ b/example/graphics/skills/axe.png diff --git a/example/graphics/skills/bow.png b/example/graphics/skills/bow.png Binary files differnew file mode 100644 index 00000000..78c4319a --- /dev/null +++ b/example/graphics/skills/bow.png diff --git a/example/graphics/skills/knife.png b/example/graphics/skills/knife.png Binary files differnew file mode 100644 index 00000000..61f834c6 --- /dev/null +++ b/example/graphics/skills/knife.png diff --git a/example/graphics/skills/mace.png b/example/graphics/skills/mace.png Binary files differnew file mode 100644 index 00000000..7958d32f --- /dev/null +++ b/example/graphics/skills/mace.png diff --git a/example/graphics/skills/magic.png b/example/graphics/skills/magic.png Binary files differnew file mode 100644 index 00000000..9201d688 --- /dev/null +++ b/example/graphics/skills/magic.png diff --git a/example/graphics/skills/polearm.png b/example/graphics/skills/polearm.png Binary files differnew file mode 100644 index 00000000..52c8449d --- /dev/null +++ b/example/graphics/skills/polearm.png diff --git a/example/graphics/skills/shooting.png b/example/graphics/skills/shooting.png Binary files differnew file mode 100644 index 00000000..e7b0806c --- /dev/null +++ b/example/graphics/skills/shooting.png diff --git a/example/graphics/skills/staff.png b/example/graphics/skills/staff.png Binary files differnew file mode 100644 index 00000000..e5c071e0 --- /dev/null +++ b/example/graphics/skills/staff.png diff --git a/example/graphics/skills/sword.png b/example/graphics/skills/sword.png Binary files differnew file mode 100644 index 00000000..9b6db914 --- /dev/null +++ b/example/graphics/skills/sword.png diff --git a/example/graphics/skills/thrown.png b/example/graphics/skills/thrown.png Binary files differnew file mode 100644 index 00000000..3fc35de7 --- /dev/null +++ b/example/graphics/skills/thrown.png diff --git a/example/graphics/skills/unarmed.png b/example/graphics/skills/unarmed.png Binary files differnew file mode 100644 index 00000000..adb139ed --- /dev/null +++ b/example/graphics/skills/unarmed.png diff --git a/example/graphics/skills/unknown.png b/example/graphics/skills/unknown.png Binary files differnew file mode 100644 index 00000000..9201d688 --- /dev/null +++ b/example/graphics/skills/unknown.png diff --git a/example/graphics/skills/whip.png b/example/graphics/skills/whip.png Binary files differnew file mode 100644 index 00000000..e5734e5d --- /dev/null +++ b/example/graphics/skills/whip.png diff --git a/example/graphics/sprites/equipment/chest/chest-leather-female.png b/example/graphics/sprites/equipment/chest/chest-leather-female.png Binary files differnew file mode 100644 index 00000000..a6efbf9b --- /dev/null +++ b/example/graphics/sprites/equipment/chest/chest-leather-female.png diff --git a/example/graphics/sprites/equipment/chest/chest-leather-female.xml b/example/graphics/sprites/equipment/chest/chest-leather-female.xml new file mode 100644 index 00000000..b44be8ab --- /dev/null +++ b/example/graphics/sprites/equipment/chest/chest-leather-female.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/chest/chest-leather-female.png|W;R" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/equipment/chest/chest-leather-male.png b/example/graphics/sprites/equipment/chest/chest-leather-male.png Binary files differnew file mode 100644 index 00000000..bc5a3c65 --- /dev/null +++ b/example/graphics/sprites/equipment/chest/chest-leather-male.png diff --git a/example/graphics/sprites/equipment/chest/chest-leather-male.xml b/example/graphics/sprites/equipment/chest/chest-leather-male.xml new file mode 100644 index 00000000..fd46be28 --- /dev/null +++ b/example/graphics/sprites/equipment/chest/chest-leather-male.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/chest/chest-leather-male.png|W;R" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/equipment/feet/boots-female.png b/example/graphics/sprites/equipment/feet/boots-female.png Binary files differnew file mode 100644 index 00000000..ba984324 --- /dev/null +++ b/example/graphics/sprites/equipment/feet/boots-female.png diff --git a/example/graphics/sprites/equipment/feet/boots-female.xml b/example/graphics/sprites/equipment/feet/boots-female.xml new file mode 100644 index 00000000..4bb2fffe --- /dev/null +++ b/example/graphics/sprites/equipment/feet/boots-female.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/feet/boots-female.png|W" width="64" height="64" /> + + <include file="equipment/feet/boots-male.xml"/> + +</sprite> diff --git a/example/graphics/sprites/equipment/feet/boots-male.png b/example/graphics/sprites/equipment/feet/boots-male.png Binary files differnew file mode 100644 index 00000000..f441c5b0 --- /dev/null +++ b/example/graphics/sprites/equipment/feet/boots-male.png diff --git a/example/graphics/sprites/equipment/feet/boots-male.xml b/example/graphics/sprites/equipment/feet/boots-male.xml new file mode 100644 index 00000000..7edbcef6 --- /dev/null +++ b/example/graphics/sprites/equipment/feet/boots-male.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/feet/boots-male.png|W" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/equipment/legs/pants-female.png b/example/graphics/sprites/equipment/legs/pants-female.png Binary files differnew file mode 100644 index 00000000..ad8c2e0e --- /dev/null +++ b/example/graphics/sprites/equipment/legs/pants-female.png diff --git a/example/graphics/sprites/equipment/legs/pants-female.xml b/example/graphics/sprites/equipment/legs/pants-female.xml new file mode 100644 index 00000000..4f5dbcdf --- /dev/null +++ b/example/graphics/sprites/equipment/legs/pants-female.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/legs/pants-female.png" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/equipment/legs/pants-male.png b/example/graphics/sprites/equipment/legs/pants-male.png Binary files differnew file mode 100644 index 00000000..f8415753 --- /dev/null +++ b/example/graphics/sprites/equipment/legs/pants-male.png diff --git a/example/graphics/sprites/equipment/legs/pants-male.xml b/example/graphics/sprites/equipment/legs/pants-male.xml new file mode 100644 index 00000000..3a90c6aa --- /dev/null +++ b/example/graphics/sprites/equipment/legs/pants-male.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/equipment/legs/pants-male.png" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/error.png b/example/graphics/sprites/error.png Binary files differnew file mode 100644 index 00000000..108ad0e4 --- /dev/null +++ b/example/graphics/sprites/error.png diff --git a/example/graphics/sprites/error.xml b/example/graphics/sprites/error.xml new file mode 100644 index 00000000..3504bd01 --- /dev/null +++ b/example/graphics/sprites/error.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/error.png" width="29" height="9" /> + + <action name="default" imageset="base"> + <animation direction="default"> + <frame index="0" /> + </animation> + </action> +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/icons/icon-feather.png b/example/graphics/sprites/icons/icon-feather.png Binary files differnew file mode 100644 index 00000000..425fb286 --- /dev/null +++ b/example/graphics/sprites/icons/icon-feather.png diff --git a/example/graphics/sprites/icons/icon-feather.xml b/example/graphics/sprites/icons/icon-feather.xml new file mode 100644 index 00000000..715a2f82 --- /dev/null +++ b/example/graphics/sprites/icons/icon-feather.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/icons/icon-feather.png" width="13" height="20" /> + + <action name="default" imageset="base"> + <animation direction="default"> + <frame index="0" offsetY="-12" delay="100"/> + </animation> + </action> +</sprite> diff --git a/example/graphics/sprites/icons/icon-poison.png b/example/graphics/sprites/icons/icon-poison.png Binary files differnew file mode 100644 index 00000000..b7803cd9 --- /dev/null +++ b/example/graphics/sprites/icons/icon-poison.png diff --git a/example/graphics/sprites/icons/icon-poison.xml b/example/graphics/sprites/icons/icon-poison.xml new file mode 100644 index 00000000..0a8f751a --- /dev/null +++ b/example/graphics/sprites/icons/icon-poison.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/icons/icon-poison.png" width="12" height="20" /> + + <action name="default" imageset="base"> + <animation direction="default"> + <frame index="0" offsetY="-12" delay="80"/> + <frame index="1" offsetY="-12" delay="80"/> + <frame index="2" offsetY="-12" delay="80"/> + <frame index="3" offsetY="-12" delay="80"/> + <frame index="4" offsetY="-12" delay="80"/> + <frame index="5" offsetY="-12" delay="80"/> + <frame index="6" offsetY="-12" delay="80"/> + <frame index="7" offsetY="-12" delay="80"/> + <frame index="8" offsetY="-12" delay="80"/> + </animation> + </action> +</sprite> diff --git a/example/graphics/sprites/monsters/monster-maggot.png b/example/graphics/sprites/monsters/monster-maggot.png Binary files differnew file mode 100644 index 00000000..64474f94 --- /dev/null +++ b/example/graphics/sprites/monsters/monster-maggot.png diff --git a/example/graphics/sprites/monsters/monster-maggot.xml b/example/graphics/sprites/monsters/monster-maggot.xml new file mode 100644 index 00000000..f603b8db --- /dev/null +++ b/example/graphics/sprites/monsters/monster-maggot.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/monsters/monster-maggot.png" width="20" height="15" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" offsetY ="-8" /> + </animation> + <animation direction="left"> + <frame index="10" offsetY ="-11" /> + </animation> + <animation direction="up"> + <frame index="20" offsetY ="-10" /> + </animation> + <animation direction="right"> + <frame index="30" offsetY ="-11" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="4" delay="150" offsetY ="-8" /> + </animation> + <animation direction="left"> + <sequence start="11" end="14" delay="150" offsetY ="-11" /> + </animation> + <animation direction="up"> + <sequence start="21" end="24" delay="150" offsetY ="-10" /> + </animation> + <animation direction="right"> + <sequence start="31" end="34" delay="150" offsetY ="-11" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="9" offsetY ="-8" /> + </animation> + <animation direction="left" > + <frame index="19" offsetY ="-11" /> + </animation> + <animation direction="up"> + <frame index="29" offsetY ="-10" /> + </animation> + <animation direction="right"> + <frame index="39" offsetY ="-11" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="5" end="8" delay="150" offsetY ="-8" /> + </animation> + <animation direction="left"> + <sequence start="15" end="18" delay="150" offsetY ="-11" /> + </animation> + <animation direction="up"> + <sequence start="25" end="28" delay="150" offsetY ="-10" /> + </animation> + <animation direction="right"> + <sequence start="35" end="38" delay="150" offsetY ="-11" /> + </animation> + </action> + +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/monsters/monster-scorpion.png b/example/graphics/sprites/monsters/monster-scorpion.png Binary files differnew file mode 100644 index 00000000..0bd693fd --- /dev/null +++ b/example/graphics/sprites/monsters/monster-scorpion.png diff --git a/example/graphics/sprites/monsters/monster-scorpion.xml b/example/graphics/sprites/monsters/monster-scorpion.xml new file mode 100644 index 00000000..ab1986a3 --- /dev/null +++ b/example/graphics/sprites/monsters/monster-scorpion.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/monsters/monster-scorpion.png|W" width="48" height="45" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" offsetY ="2" /> + </animation> + <animation direction="left"> + <frame index="10" offsetY ="2" /> + </animation> + <animation direction="up"> + <frame index="20" offsetX ="-1" offsetY ="3" /> + </animation> + <animation direction="right"> + <frame index="30" offsetY ="2" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="4" delay="75" offsetY ="2" /> + </animation> + <animation direction="left"> + <sequence start="11" end="14" delay="75" offsetY ="2" /> + </animation> + <animation direction="up"> + <sequence start="21" end="24" delay="75" offsetX ="-1" offsetY ="3" /> + </animation> + <animation direction="right"> + <sequence start="31" end="34" delay="75" offsetY ="2" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="9" offsetY ="2" /> + </animation> + <animation direction="left"> + <frame index="19" offsetY ="2" /> + </animation> + <animation direction="up"> + <frame index="29" offsetX ="-1" offsetY ="3" /> + </animation> + <animation direction="right"> + <frame index="39" offsetY ="2" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="5" end="8" delay="75" offsetY ="2" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="15" end="18" delay="75" offsetY ="2" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="25" end="28" delay="75" offsetX ="-1" offsetY ="3" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="35" end="38" delay="75" offsetY ="2" /> + <end /> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/monsters/monster-slime.png b/example/graphics/sprites/monsters/monster-slime.png Binary files differnew file mode 100644 index 00000000..ab14bbb5 --- /dev/null +++ b/example/graphics/sprites/monsters/monster-slime.png diff --git a/example/graphics/sprites/monsters/monster-slime.xml b/example/graphics/sprites/monsters/monster-slime.xml new file mode 100644 index 00000000..220a8e25 --- /dev/null +++ b/example/graphics/sprites/monsters/monster-slime.xml @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/monsters/monster-slime.png|W" width="52" height="24" /> + + <action name="stand" imageset="base"> + <animation> + <frame index="0" offsetY="-4" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="0" end="3" delay="200" offsetY="-4" /> + </animation> + <animation direction="left"> + <frame index="0" delay="200" offsetY="-4" /> + <sequence start="10" end="12" delay="200" offsetY="-4" /> + </animation> + <animation direction="up"> + <frame index="0" delay="200" offsetY="-4" /> + <sequence start="19" end="21" delay="200" offsetY="-4" /> + </animation> + <animation direction="right"> + <frame index="0" delay="200" offsetY="-4" /> + <sequence start="28" end="30" delay="200" offsetY="-4" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation> + <frame index="8" offsetY="-4" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="4" end="7" delay="100" offsetY="-4" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="4" end="7" delay="100" offsetY="-4" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="22" end="25" delay="100" offsetY="-4" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="22" end="25" delay="100" offsetY="-4" /> + <end /> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/npcs/static-npcs.png b/example/graphics/sprites/npcs/static-npcs.png Binary files differnew file mode 100644 index 00000000..812c88d5 --- /dev/null +++ b/example/graphics/sprites/npcs/static-npcs.png diff --git a/example/graphics/sprites/npcs/static-npcs.xml b/example/graphics/sprites/npcs/static-npcs.xml new file mode 100644 index 00000000..2cb4d08c --- /dev/null +++ b/example/graphics/sprites/npcs/static-npcs.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<sprite variants="100" variant_offset="1"> + <imageset name="base" src="graphics/sprites/npcs/static-npcs.png" width="50" height="80" /> + + <action name="stand" imageset="base"> + <animation direction="default"> + <frame index="0" /> + </animation> + </action> +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle0.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle0.xml new file mode 100644 index 00000000..5f06bb2c --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle0.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<sprite> + <!-- + This is the bald hairstyle, hence it should need no imageset and no actions. + --> +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle1.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle1.png Binary files differnew file mode 100644 index 00000000..6bb2657e --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle1.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle1.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle1.xml new file mode 100644 index 00000000..44b1d4e7 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle1.xml @@ -0,0 +1,143 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle1.png|M" width="40" height="40" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY ="-29" /> + </animation> + <animation direction="left"> + <frame index="1" offsetX="0" offsetY ="-29"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY ="-25"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="0" offsetY ="-29"/> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="0" offsetX="0" offsetY ="-29" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-29" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-29" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-29" delay="75" /> + </animation> + <animation direction="left"> + <frame index="1" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="1" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="1" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="1" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="1" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="1" offsetX="0" offsetY ="-29" delay="75"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-26" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-26" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-26" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-26" delay="75"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-29" delay="75"/> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY ="-27" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-25" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-24" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <frame index="1" offsetX="4" offsetY ="-30" delay="75" /> + <frame index="1" offsetX="4" offsetY ="-31" delay="75" /> + <frame index="1" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="1" offsetX="-1" offsetY ="-27" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-23" delay="75"/> + <end /> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-3" offsetY ="-30" delay="75"/> + <frame index="3" offsetX="-3" offsetY ="-31" delay="75"/> + <frame index="3" offsetX="0" offsetY ="-28" delay="75"/> + <frame index="3" offsetX="1" offsetY ="-27" delay="75"/> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-27" delay="75" /> + <frame index="0" offsetX="0" offsetY ="-28" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <frame index="1" offsetX="3" offsetY ="-29" delay="75" /> + <frame index="1" offsetX="3" offsetY ="-29" delay="75" /> + <frame index="1" offsetX="3" offsetY ="-29" delay="75" /> + <frame index="1" offsetX="5" offsetY ="-30" delay="75" /> + <frame index="1" offsetX="5" offsetY ="-30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-24" delay="75"/> + <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/> + <end /> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-3" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="-3" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="-3" offsetY ="-29" delay="75"/> + <frame index="3" offsetX="-5" offsetY ="-30" delay="75"/> + <frame index="3" offsetX="-5" offsetY ="-30" delay="75"/> + <end /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY ="-17" /> + </animation> + <animation direction="left"> + <frame index="1" offsetX="4" offsetY ="-20"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="0" offsetY ="-17"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-6" offsetY ="-20"/> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="default"> + <frame index="4" offsetX="21" offsetY="-4"/> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle10.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle10.png Binary files differnew file mode 100644 index 00000000..d52924be --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle10.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle10.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle10.xml new file mode 100644 index 00000000..6460d09f --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle10.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle10.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle11.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle11.png Binary files differnew file mode 100644 index 00000000..284772de --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle11.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle11.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle11.xml new file mode 100644 index 00000000..dc73a464 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle11.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle11.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle12.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle12.png Binary files differnew file mode 100644 index 00000000..03096379 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle12.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle12.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle12.xml new file mode 100644 index 00000000..f4bea1f9 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle12.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle12.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle13.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle13.png Binary files differnew file mode 100644 index 00000000..0421089a --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle13.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle13.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle13.xml new file mode 100644 index 00000000..56caee00 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle13.xml @@ -0,0 +1,143 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle13.png|W" width="32" height="32" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="3" offsetY ="-33" /> + </animation> + <animation direction="left"> + <frame index="3" offsetX="3" offsetY ="-33"/> + </animation> + <animation direction="up"> + <frame index="6" offsetX="3" offsetY ="-33"/> + </animation> + <animation direction="right"> + <frame index="9" offsetX="3" offsetY ="-33"/> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="1" offsetX="3" offsetY ="-33" delay="75" /> + <frame index="1" offsetX="3" offsetY ="-33" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-32" delay="75" /> + <frame index="2" offsetX="3" offsetY ="-33" delay="75" /> + <frame index="2" offsetX="3" offsetY ="-33" delay="75" /> + </animation> + <animation direction="left"> + <frame index="3" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="4" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="4" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="3" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="5" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="5" offsetX="3" offsetY ="-33" delay="75"/> + </animation> + <animation direction="up"> + <frame index="6" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="7" offsetX="3" offsetY ="-34" delay="75"/> + <frame index="7" offsetX="3" offsetY ="-34" delay="75"/> + <frame index="6" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="8" offsetX="3" offsetY ="-34" delay="75"/> + <frame index="8" offsetX="3" offsetY ="-34" delay="75"/> + </animation> + <animation direction="right"> + <frame index="9" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="10" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="10" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="9" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="11" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="11" offsetX="3" offsetY ="-33" delay="75"/> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="3" offsetY ="-30" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-31" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-28" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-27" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <frame index="3" offsetX="7" offsetY ="-34" delay="75" /> + <frame index="3" offsetX="7" offsetY ="-35" delay="75" /> + <frame index="3" offsetX="3" offsetY ="-32" delay="75" /> + <frame index="3" offsetX="2" offsetY ="-31" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <frame index="6" offsetX="2" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-31" delay="75"/> + <end /> + </animation> + <animation direction="right"> + <frame index="9" offsetX="0" offsetY ="-34" delay="75"/> + <frame index="9" offsetX="0" offsetY ="-35" delay="75"/> + <frame index="9" offsetX="3" offsetY ="-32" delay="75"/> + <frame index="9" offsetX="4" offsetY ="-31" delay="75"/> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="3" offsetY ="-32" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-32" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-32" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-31" delay="75" /> + <frame index="0" offsetX="3" offsetY ="-32" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <frame index="3" offsetX="6" offsetY ="-33" delay="75" /> + <frame index="3" offsetX="6" offsetY ="-33" delay="75" /> + <frame index="3" offsetX="6" offsetY ="-33" delay="75" /> + <frame index="3" offsetX="8" offsetY ="-34" delay="75" /> + <frame index="3" offsetX="8" offsetY ="-34" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <frame index="6" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="3" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-33" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-32" delay="75"/> + <frame index="6" offsetX="2" offsetY ="-33" delay="75"/> + <end /> + </animation> + <animation direction="right"> + <frame index="9" offsetX="0" offsetY ="-33" delay="75"/> + <frame index="9" offsetX="0" offsetY ="-33" delay="75"/> + <frame index="9" offsetX="0" offsetY ="-33" delay="75"/> + <frame index="9" offsetX="-2" offsetY ="-34" delay="75"/> + <frame index="9" offsetX="-2" offsetY ="-34" delay="75"/> + <end /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="3" offsetY ="-21" /> + </animation> + <animation direction="left"> + <frame index="3" offsetX="7" offsetY ="-24"/> + </animation> + <animation direction="up"> + <frame index="6" offsetX="4" offsetY ="-25"/> + </animation> + <animation direction="right"> + <frame index="9" offsetX="-3" offsetY ="-24"/> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="default"> + <frame index="12" offsetX="23" offsetY="-8"/> + </animation> + </action> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle14.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle14.png Binary files differnew file mode 100644 index 00000000..7b4cddd0 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle14.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle14.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle14.xml new file mode 100644 index 00000000..bc329d02 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle14.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle14.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle15.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle15.png Binary files differnew file mode 100644 index 00000000..cd77639c --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle15.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle15.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle15.xml new file mode 100644 index 00000000..0ce52c6c --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle15.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle15.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle16.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle16.png Binary files differnew file mode 100644 index 00000000..fc13907b --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle16.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle16.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle16.xml new file mode 100644 index 00000000..9ce2d53a --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle16.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle16.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle2.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle2.png Binary files differnew file mode 100644 index 00000000..f80ad787 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle2.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle2.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle2.xml new file mode 100644 index 00000000..c2caf497 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle2.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle2.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle3.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle3.png Binary files differnew file mode 100644 index 00000000..b04df515 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle3.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle3.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle3.xml new file mode 100644 index 00000000..f0f0bcda --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle3.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle3.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle4.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle4.png Binary files differnew file mode 100644 index 00000000..b004080f --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle4.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle4.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle4.xml new file mode 100644 index 00000000..7943d685 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle4.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle4.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle5.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle5.png Binary files differnew file mode 100644 index 00000000..d034fe67 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle5.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle5.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle5.xml new file mode 100644 index 00000000..5a02327b --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle5.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle5.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle6.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle6.png Binary files differnew file mode 100644 index 00000000..b8710253 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle6.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle6.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle6.xml new file mode 100644 index 00000000..0ad652c2 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle6.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle6.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle7.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle7.png Binary files differnew file mode 100644 index 00000000..c3a27ddc --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle7.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle7.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle7.xml new file mode 100644 index 00000000..aa385f74 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle7.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle7.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle8.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle8.png Binary files differnew file mode 100644 index 00000000..3c81a1a8 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle8.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle8.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle8.xml new file mode 100644 index 00000000..c2be3b02 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle8.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle8.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle9.png b/example/graphics/sprites/races/humans/hairstyles/hairstyle9.png Binary files differnew file mode 100644 index 00000000..01bc3606 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle9.png diff --git a/example/graphics/sprites/races/humans/hairstyles/hairstyle9.xml b/example/graphics/sprites/races/humans/hairstyles/hairstyle9.xml new file mode 100644 index 00000000..787df6d4 --- /dev/null +++ b/example/graphics/sprites/races/humans/hairstyles/hairstyle9.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/races/humans/hairstyles/hairstyle9.png|W" width="40" height="40" /> + + <include file="races/humans/hairstyles/hairstyle1.xml"/> + +</sprite> diff --git a/example/graphics/sprites/races/humans/human_female_base.png b/example/graphics/sprites/races/humans/human_female_base.png Binary files differnew file mode 100644 index 00000000..c4c0a80b --- /dev/null +++ b/example/graphics/sprites/races/humans/human_female_base.png diff --git a/example/graphics/sprites/races/humans/human_female_base.xml b/example/graphics/sprites/races/humans/human_female_base.xml new file mode 100644 index 00000000..1d0ffeaa --- /dev/null +++ b/example/graphics/sprites/races/humans/human_female_base.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" src="graphics/sprites/races/humans/human_female_base.png" width="64" height="64" /> + + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/races/humans/human_male_base.png b/example/graphics/sprites/races/humans/human_male_base.png Binary files differnew file mode 100644 index 00000000..72b9b375 --- /dev/null +++ b/example/graphics/sprites/races/humans/human_male_base.png diff --git a/example/graphics/sprites/races/humans/human_male_base.xml b/example/graphics/sprites/races/humans/human_male_base.xml new file mode 100644 index 00000000..fe495ddc --- /dev/null +++ b/example/graphics/sprites/races/humans/human_male_base.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<sprite name="player" action="stand"> + + <imageset name="base" + src= "graphics/sprites/races/humans/human_male_base.png" + width= "64" + height= "64" + /> + + <action name = "stand" + imageset = "base" + > + <animation direction="down"> + <frame index="0" /> + </animation> + <animation direction="left"> + <frame index="18" /> + </animation> + <animation direction="up"> + <frame index="36" /> + </animation> + <animation direction="right"> + <frame index="54" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="1" end="6" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="19" end="24" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="37" end="42" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="55" end="60" delay="75" /> + </animation> + </action> + + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="7" /> + </animation> + <animation direction="left"> + <frame index="25" /> + </animation> + <animation direction="up"> + <frame index="43" /> + </animation> + <animation direction="right"> + <frame index="61" /> + </animation> + </action> + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="8" /> + </animation> + <animation direction="left"> + <frame index="26" /> + </animation> + <animation direction="up"> + <frame index="44" /> + </animation> + <animation direction="right"> + <frame index="62" /> + </animation> + </action> + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="9" end="12" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="27" end="30" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="45" end="48" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="63" end="66" delay="75" /> + <end /> + </animation> + </action> + + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <sequence start="13" end="17" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="31" end="35" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="49" end="53" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="67" end="71" delay="75" /> + <end /> + </animation> + </action> + +</sprite>
\ No newline at end of file diff --git a/example/graphics/sprites/weapons/weapon-bow.png b/example/graphics/sprites/weapons/weapon-bow.png Binary files differnew file mode 100644 index 00000000..b5f8a68e --- /dev/null +++ b/example/graphics/sprites/weapons/weapon-bow.png diff --git a/example/graphics/sprites/weapons/weapon-bow.xml b/example/graphics/sprites/weapons/weapon-bow.xml new file mode 100644 index 00000000..7580776c --- /dev/null +++ b/example/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/graphics/sprites/weapons/weapon-dagger.xml b/example/graphics/sprites/weapons/weapon-dagger.xml new file mode 100644 index 00000000..1909aff6 --- /dev/null +++ b/example/graphics/sprites/weapons/weapon-dagger.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 diff --git a/example/graphics/sprites/weapons/weapon-fist.xml b/example/graphics/sprites/weapons/weapon-fist.xml new file mode 100644 index 00000000..324dfd5b --- /dev/null +++ b/example/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/graphics/sprites/weapons/weapon-sword.png b/example/graphics/sprites/weapons/weapon-sword.png Binary files differnew file mode 100644 index 00000000..f691ef3f --- /dev/null +++ b/example/graphics/sprites/weapons/weapon-sword.png diff --git a/example/graphics/sprites/weapons/weapon-sword.xml b/example/graphics/sprites/weapons/weapon-sword.xml new file mode 100644 index 00000000..1909aff6 --- /dev/null +++ b/example/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 |