summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/butterfly.xml
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-12-21 23:52:31 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-12-22 00:07:23 +0100
commit9ea1945881ca40f947c14cacc6695d19799c31f2 (patch)
treeb998cace09bd39f9e5907355d405da30267e6c63 /graphics/sprites/monsters/butterfly.xml
parent34867226191d841ac7af0ca40d41f7ba80ca6a06 (diff)
downloadclientdata-9ea1945881ca40f947c14cacc6695d19799c31f2.tar.gz
clientdata-9ea1945881ca40f947c14cacc6695d19799c31f2.tar.bz2
clientdata-9ea1945881ca40f947c14cacc6695d19799c31f2.tar.xz
clientdata-9ea1945881ca40f947c14cacc6695d19799c31f2.zip
Fixes to the butterfly monster.
I fixed the delay used in the butterfly final death frames to a reasonable value. I also made the butterfly fly faster when walking, so you can actually tell the difference between an idle fly, and a walking one, which makes it more lively.
Diffstat (limited to 'graphics/sprites/monsters/butterfly.xml')
-rw-r--r--graphics/sprites/monsters/butterfly.xml25
1 files changed, 20 insertions, 5 deletions
diff --git a/graphics/sprites/monsters/butterfly.xml b/graphics/sprites/monsters/butterfly.xml
index 0c6647bf..07ce107f 100644
--- a/graphics/sprites/monsters/butterfly.xml
+++ b/graphics/sprites/monsters/butterfly.xml
@@ -3,19 +3,34 @@
<imageset name="base" src="graphics/sprites/monsters/butterfly.png|W" width="28" height="28" />
<action name="stand" imageset="base">
<animation direction="up">
- <sequence start="0" end="3" delay="100" offsetY="-20" />
+ <sequence start="0" end="3" delay="120" offsetY="-20" />
</animation>
<animation direction="down">
- <sequence start="0" end="3" delay="100" offsetY="-20" />
+ <sequence start="0" end="3" delay="120" offsetY="-20" />
</animation>
<animation direction="right">
- <sequence start="4" end="7" delay="100" offsetY="-20" />
+ <sequence start="4" end="7" delay="120" offsetY="-20" />
</animation>
<animation direction="left">
- <sequence start="8" end="11" delay="100" offsetY="-20" />
+ <sequence start="8" end="11" delay="120" offsetY="-20" />
</animation>
</action>
+ <action name="walk" imageset="base">
+ <animation direction="up">
+ <sequence start="0" end="3" delay="75" offsetY="-20" />
+ </animation>
+ <animation direction="down">
+ <sequence start="0" end="3" delay="75" offsetY="-20" />
+ </animation>
+ <animation direction="right">
+ <sequence start="4" end="7" delay="75" offsetY="-20" />
+ </animation>
+ <animation direction="left">
+ <sequence start="8" end="11" delay="75" offsetY="-20" />
+ </animation>
+ </action>
+
<action name="attack" imageset="base">
<animation direction="up">
<frame index="0" delay="50" offsetY="-24" />
@@ -81,7 +96,7 @@
<frame index="12" delay="90" offsetY="-3" offsetX="-2" />
<frame index="13" delay="90" offsetY="-2" offsetX="0" />
<frame index="14" delay="90" offsetY="-1" offsetX="2" />
- <frame index="15" delay="1000000" offsetY="0" offsetX="0" />
+ <frame index="15" delay="3000" offsetY="0" offsetX="0" />
</animation>