summaryrefslogtreecommitdiff
path: root/graphics/sprites
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 13:38:31 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 13:38:31 -0300
commit29cb0da8b6bcaacf3e914f0b2626a4afdc064704 (patch)
tree68c1ff3bbf696a216870d595bcbe9585550f03af /graphics/sprites
parent36ddb5927efed47804c417377ff980a9fabd9ac2 (diff)
downloadclientdata-29cb0da8b6bcaacf3e914f0b2626a4afdc064704.tar.gz
clientdata-29cb0da8b6bcaacf3e914f0b2626a4afdc064704.tar.bz2
clientdata-29cb0da8b6bcaacf3e914f0b2626a4afdc064704.tar.xz
clientdata-29cb0da8b6bcaacf3e914f0b2626a4afdc064704.zip
Bugs, optimizations
Diffstat (limited to 'graphics/sprites')
-rw-r--r--graphics/sprites/equipment/shields/buckler.xml212
-rw-r--r--graphics/sprites/equipment/shields/leather.xml98
-rw-r--r--graphics/sprites/equipment/shields/standard.xml87
-rw-r--r--graphics/sprites/equipment/shields/wooden.xml98
4 files changed, 215 insertions, 280 deletions
diff --git a/graphics/sprites/equipment/shields/buckler.xml b/graphics/sprites/equipment/shields/buckler.xml
index e93b0f4f..6991760a 100644
--- a/graphics/sprites/equipment/shields/buckler.xml
+++ b/graphics/sprites/equipment/shields/buckler.xml
@@ -1,106 +1,106 @@
-<?xml version="1.0"?>
-<sprite name="player" action="stand">
- <imageset name="shield" src="graphics/sprites/equipment/shields/buckler.png" width="64" height="64" />
-
- <action name="default" imageset="shield">
- </action>
-
- <action name="stand" imageset="shield">
- <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="shield">
- <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="shield">
- <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="shield">
- <animation direction="down">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="left">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="up">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="right">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- </action>
-
- <action name="attack" imageset="shield">
- <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="shield">
- <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>
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="shield" src="graphics/sprites/equipment/shields/buckler.png" width="64" height="64" />
+
+ <action name="default" imageset="shield">
+ </action>
+
+ <action name="stand" imageset="shield">
+ <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="shield">
+ <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="shield">
+ <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="shield">
+ <animation direction="down">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="shield">
+ <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="shield">
+ <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/graphics/sprites/equipment/shields/leather.xml b/graphics/sprites/equipment/shields/leather.xml
index 0973ea3d..9ee3b506 100644
--- a/graphics/sprites/equipment/shields/leather.xml
+++ b/graphics/sprites/equipment/shields/leather.xml
@@ -1,87 +1,11 @@
-<?xml version="1.0"?>
-<sprite name="player" action="stand">
- <imageset name="shield" src="graphics/sprites/equipment/shields/leather.png" width="64" height="64" />
-
- <action name="default" imageset="shield">
- </action>
-
- <action name="stand" imageset="shield">
- <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="shield">
- <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="shield">
- <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="shield">
- <animation direction="down">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="left">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="up">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="right">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- </action>
-
- <action name="attack" imageset="shield">
- <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>
-
-</sprite>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Jesusalva
+Copyright (C) 2018 TMW2: Moubootaur Legends -->
+<sprite>
+ <imageset name="shield"
+ src="graphics/sprites/equipment/shields/leather.png"
+ width="64"
+ height="64"/>
+
+ <include file="equipment/shields/standard.xml"/>
+</sprite>
diff --git a/graphics/sprites/equipment/shields/standard.xml b/graphics/sprites/equipment/shields/standard.xml
new file mode 100644
index 00000000..43e01074
--- /dev/null
+++ b/graphics/sprites/equipment/shields/standard.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<sprite>
+ <imageset name="shield" src="graphics/sprites/equipment/shields/leather.png" width="64" height="64" />
+
+ <action name="default" imageset="shield">
+ </action>
+
+ <action name="stand" imageset="shield">
+ <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="shield">
+ <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="shield">
+ <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="shield">
+ <animation direction="down">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="left">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="up">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ <animation direction="right">
+ <frame index="8" offsetX ="0" offsetY ="32" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="shield">
+ <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>
+
+</sprite>
diff --git a/graphics/sprites/equipment/shields/wooden.xml b/graphics/sprites/equipment/shields/wooden.xml
index 895f88e9..e79b8397 100644
--- a/graphics/sprites/equipment/shields/wooden.xml
+++ b/graphics/sprites/equipment/shields/wooden.xml
@@ -1,87 +1,11 @@
-<?xml version="1.0"?>
-<sprite name="player" action="stand">
- <imageset name="shield" src="graphics/sprites/equipment/shields/wooden.png" width="64" height="64" />
-
- <action name="default" imageset="shield">
- </action>
-
- <action name="stand" imageset="shield">
- <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="shield">
- <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="shield">
- <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="shield">
- <animation direction="down">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="left">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="up">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- <animation direction="right">
- <frame index="8" offsetX ="0" offsetY ="32" />
- </animation>
- </action>
-
- <action name="attack" imageset="shield">
- <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>
-
-</sprite>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Jesusalva
+Copyright (C) 2018 TMW2: Moubootaur Legends -->
+<sprite>
+ <imageset name="shield"
+ src="graphics/sprites/equipment/shields/wooden.png"
+ width="64"
+ height="64"/>
+
+ <include file="equipment/shields/standard.xml"/>
+</sprite>