summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/snake-cave.xml
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-06-05 15:55:17 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-06-11 20:42:33 +0200
commitb683a8cfeb43f4c6b9547ad9c31e82b8af50626b (patch)
tree65bfa1ca0e8b49984274b5faafae58bb3ac7992f /graphics/sprites/monsters/snake-cave.xml
parent93b68068f1c940d9437b1849047349b1a8a1e91e (diff)
downloadclientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.gz
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.bz2
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.xz
clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.zip
Format xml files.
Running tools/formatXML.sh Applying manual edits to: - effects.xml to place comments above the line they belong to instead of below - to paths.xml and portal-door.particle.xml to remove tabs within a comment - to playerglow.particle.xml to remove an superflous '-->' which messed up the automatic indentation. - used 'sed 's/^\(.*\)\(<!--.*-->\)\(.*\)$/\2\1\3/' -i npcs.xml' to move comments in front of the tags they belong to, manually edited npcs 251 to 265
Diffstat (limited to 'graphics/sprites/monsters/snake-cave.xml')
-rw-r--r--graphics/sprites/monsters/snake-cave.xml152
1 files changed, 73 insertions, 79 deletions
diff --git a/graphics/sprites/monsters/snake-cave.xml b/graphics/sprites/monsters/snake-cave.xml
index d0603ae0..95f61449 100644
--- a/graphics/sprites/monsters/snake-cave.xml
+++ b/graphics/sprites/monsters/snake-cave.xml
@@ -1,82 +1,76 @@
<?xml version="1.0"?>
<sprite>
-
- <imageset name="base" src="graphics/sprites/monsters/snake-cave.png" width="96" height="56" />
-
- <action name="stand" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX ="0" offsetY ="6" />
- </animation>
- <animation direction="left">
- <frame index="7" offsetX ="-1" offsetY ="4" />
- </animation>
- <animation direction="up">
- <frame index="14" offsetX ="0" offsetY ="-5" />
- </animation>
- <animation direction="right">
- <frame index="21" offsetX ="1" offsetY ="5" />
- </animation>
- </action>
-
- <action name="walk" imageset="base">
- <animation direction="down">
- <sequence start="1" end="4" offsetX ="0" offsetY ="6" delay="150" />
- </animation>
- <animation direction="left">
- <sequence start="8" end="11" offsetX ="-1" offsetY ="4" delay="150" />
- </animation>
- <animation direction="up">
- <sequence start="15" end="18" offsetX ="0" offsetY ="-5" delay="150" />
- </animation>
- <animation direction="right">
- <sequence start="22" end="25" offsetX ="1" offsetY ="5" delay="150" />
- </animation>
- </action>
-
- <action name="dead" imageset="base">
- <animation direction="down">
- <frame index="29" delay="300" offsetX ="0" offsetY ="6" />
- <frame index="28" delay="500" offsetX ="0" offsetY ="6" />
- <frame index="30" delay="3000" offsetX ="0" offsetY ="6" />
- </animation>
- <animation direction="left">
- <frame index="36" delay="300" offsetX ="0" offsetY ="6" />
- <frame index="8" delay="500" offsetX ="0" offsetY ="6" />
- <frame index="37" delay="3000" offsetX ="0" offsetY ="6" />
- </animation>
- <animation direction="up">
- <frame index="43" delay="300" offsetX ="0" offsetY ="6" />
- <frame index="42" delay="500" offsetX ="0" offsetY ="6" />
- <frame index="44" delay="3000" offsetX ="0" offsetY ="6" />
- </animation>
- <animation direction="right">
- <frame index="50" delay="300" offsetX ="0" offsetY ="6" />
- <frame index="22" delay="500" offsetX ="0" offsetY ="6" />
- <frame index="51" delay="3000" offsetX ="0" offsetY ="6" />
- </animation>
- </action>
-
- <action name="attack" imageset="base">
- <animation direction="down">
- <sequence start="5" end="6" delay="150" offsetX ="0" offsetY ="6" />
- <sequence start="28" end="29" delay="150" offsetX ="0" offsetY ="6" />
- <end />
- </animation>
- <animation direction="left">
- <sequence start="12" end="13" delay="150" offsetX ="-1" offsetY ="4" />
- <sequence start="35" end="36" delay="150" offsetX ="-1" offsetY ="4" />
- <end />
- </animation>
- <animation direction="up">
- <sequence start="19" end="20" delay="150" offsetX ="0" offsetY ="-5" />
- <sequence start="42" end="43" delay="150" offsetX ="0" offsetY ="-5" />
- <end />
- </animation>
- <animation direction="right">
- <sequence start="26" end="27" delay="150" offsetX ="1" offsetY ="5" />
- <sequence start="49" end="50" delay="150" offsetX ="1" offsetY ="5" />
- <end />
- </animation>
- </action>
-
+ <imageset name="base" src="graphics/sprites/monsters/snake-cave.png" width="96" height="56"/>
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetX="0" offsetY="6"/>
+ </animation>
+ <animation direction="left">
+ <frame index="7" offsetX="-1" offsetY="4"/>
+ </animation>
+ <animation direction="up">
+ <frame index="14" offsetX="0" offsetY="-5"/>
+ </animation>
+ <animation direction="right">
+ <frame index="21" offsetX="1" offsetY="5"/>
+ </animation>
+ </action>
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="4" offsetX="0" offsetY="6" delay="150"/>
+ </animation>
+ <animation direction="left">
+ <sequence start="8" end="11" offsetX="-1" offsetY="4" delay="150"/>
+ </animation>
+ <animation direction="up">
+ <sequence start="15" end="18" offsetX="0" offsetY="-5" delay="150"/>
+ </animation>
+ <animation direction="right">
+ <sequence start="22" end="25" offsetX="1" offsetY="5" delay="150"/>
+ </animation>
+ </action>
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="29" delay="300" offsetX="0" offsetY="6"/>
+ <frame index="28" delay="500" offsetX="0" offsetY="6"/>
+ <frame index="30" delay="3000" offsetX="0" offsetY="6"/>
+ </animation>
+ <animation direction="left">
+ <frame index="36" delay="300" offsetX="0" offsetY="6"/>
+ <frame index="8" delay="500" offsetX="0" offsetY="6"/>
+ <frame index="37" delay="3000" offsetX="0" offsetY="6"/>
+ </animation>
+ <animation direction="up">
+ <frame index="43" delay="300" offsetX="0" offsetY="6"/>
+ <frame index="42" delay="500" offsetX="0" offsetY="6"/>
+ <frame index="44" delay="3000" offsetX="0" offsetY="6"/>
+ </animation>
+ <animation direction="right">
+ <frame index="50" delay="300" offsetX="0" offsetY="6"/>
+ <frame index="22" delay="500" offsetX="0" offsetY="6"/>
+ <frame index="51" delay="3000" offsetX="0" offsetY="6"/>
+ </animation>
+ </action>
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <sequence start="5" end="6" delay="150" offsetX="0" offsetY="6"/>
+ <sequence start="28" end="29" delay="150" offsetX="0" offsetY="6"/>
+ <end/>
+ </animation>
+ <animation direction="left">
+ <sequence start="12" end="13" delay="150" offsetX="-1" offsetY="4"/>
+ <sequence start="35" end="36" delay="150" offsetX="-1" offsetY="4"/>
+ <end/>
+ </animation>
+ <animation direction="up">
+ <sequence start="19" end="20" delay="150" offsetX="0" offsetY="-5"/>
+ <sequence start="42" end="43" delay="150" offsetX="0" offsetY="-5"/>
+ <end/>
+ </animation>
+ <animation direction="right">
+ <sequence start="26" end="27" delay="150" offsetX="1" offsetY="5"/>
+ <sequence start="49" end="50" delay="150" offsetX="1" offsetY="5"/>
+ <end/>
+ </animation>
+ </action>
</sprite>