diff options
author | Bertram <bertram@cegetel.net> | 2009-08-13 00:33:14 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-08-13 00:33:14 +0200 |
commit | c2ec98c0c11dbca3009cfbbee56cb5c5445fd74f (patch) | |
tree | e31fbc1eafec58be2eb58a560871e5bfac7873e5 | |
parent | be6e43c4b0a330581ed65fe37d2c6a1ebb718bb3 (diff) | |
download | clientdata-c2ec98c0c11dbca3009cfbbee56cb5c5445fd74f.tar.gz clientdata-c2ec98c0c11dbca3009cfbbee56cb5c5445fd74f.tar.bz2 clientdata-c2ec98c0c11dbca3009cfbbee56cb5c5445fd74f.tar.xz clientdata-c2ec98c0c11dbca3009cfbbee56cb5c5445fd74f.zip |
Added pre-colored version of the snail monster (By Fother J)
Maybe, later on, after balancing, the monster should be made more generic
in its own xml definition, and the dye colors moved to monsters.xml.
-rw-r--r-- | graphics/sprites/monster-snail.png | bin | 0 -> 13670 bytes | |||
-rw-r--r-- | graphics/sprites/monster-snail.xml | 102 | ||||
-rw-r--r-- | monsters.xml | 40 |
3 files changed, 140 insertions, 2 deletions
diff --git a/graphics/sprites/monster-snail.png b/graphics/sprites/monster-snail.png Binary files differnew file mode 100644 index 00000000..2e974de2 --- /dev/null +++ b/graphics/sprites/monster-snail.png diff --git a/graphics/sprites/monster-snail.xml b/graphics/sprites/monster-snail.xml new file mode 100644 index 00000000..c0316840 --- /dev/null +++ b/graphics/sprites/monster-snail.xml @@ -0,0 +1,102 @@ +<?xml version="1.0"?>
+<sprite>
+
+ <imageset name="base" src="graphics/sprites/monster-snail.png|W:#FDC689;R:#E0A6E3;Y:#E0A6E3;G:#F06EAA;C:#C69C6D;B:#A9FF02" width="50" height="50" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" />
+ </animation>
+ <animation direction="left">
+ <frame index="30" />
+ </animation>
+ <animation direction="up">
+ <frame index="20" />
+ </animation>
+ <animation direction="right">
+ <frame index="10" />
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <sequence start="1" end="4" delay="200" />
+ </animation>
+ <animation direction="left">
+ <sequence start="31" end="34" delay="200" />
+ </animation>
+ <animation direction="up">
+ <sequence start="21" end="24" delay="200" />
+ </animation>
+ <animation direction="right">
+ <sequence start="12" end="14" delay="200" />
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="down">
+ <frame index="9" delay="50" />
+ <frame index="9" delay="50" offsetY="-2" />
+ <frame index="9" delay="50" offsetY="-1" />
+ <frame index="9" delay="50" />
+ <frame index="9" delay="50" offsetY="-2" />
+ <frame index="9" delay="50" offsetY="-1" />
+ <frame index="9" delay="6000" offsetY="-2" />
+ </animation>
+ <animation direction="left">
+ <frame index="39" delay="50" />
+ <frame index="39" delay="50" offsetY="-2" />
+ <frame index="39" delay="50" offsetY="-1" />
+ <frame index="39" delay="50" />
+ <frame index="39" delay="50" offsetY="-2" />
+ <frame index="39" delay="50" offsetY="-1" />
+ <frame index="39" delay="6000" offsetY="-2" />
+ </animation>
+ <animation direction="up">
+ <frame index="29" delay="50" />
+ <frame index="29" delay="50" offsetY="-2" />
+ <frame index="29" delay="50" offsetY="-1" />
+ <frame index="29" delay="50" />
+ <frame index="29" delay="50" offsetY="-2" />
+ <frame index="29" delay="50" offsetY="-1" />
+ <frame index="29" delay="6000" offsetY="-2" />
+ </animation>
+ <animation direction="right">
+ <frame index="19" delay="50" />
+ <frame index="19" delay="50" offsetY="-2" />
+ <frame index="19" delay="50" offsetY="-1" />
+ <frame index="19" delay="50" />
+ <frame index="19" delay="50" offsetY="-2" />
+ <frame index="19" delay="50" offsetY="-1" />
+ <frame index="19" delay="6000" offsetY="-2" />
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <frame index="5" delay="150" offsetY="-1" />
+ <frame index="6" delay="150" offsetY="-2" />
+ <frame index="7" delay="150" offsetY="-3" />
+ <frame index="8" delay="150" offsetY="-2" />
+ </animation>
+ <animation direction="left">
+ <frame index="35" delay="150" offsetX="-1" />
+ <frame index="36" delay="150" offsetX="-2" />
+ <frame index="37" delay="150" offsetX="-3" />
+ <frame index="38" delay="150" offsetX="-2" />
+ </animation>
+ <animation direction="up">
+ <frame index="25" delay="150" offsetY="1" />
+ <frame index="26" delay="150" offsetY="2" />
+ <frame index="27" delay="150" offsetY="3" />
+ <frame index="28" delay="150" offsetY="2" />
+ </animation>
+ <animation direction="right">
+ <frame index="15" delay="150" offsetX="1" />
+ <frame index="16" delay="150" offsetX="2" />
+ <frame index="17" delay="150" offsetX="3" />
+ <frame index="18" delay="150" offsetX="2" />
+ </animation>
+ </action>
+
+</sprite>
diff --git a/monsters.xml b/monsters.xml index 09736a8e..fc177604 100644 --- a/monsters.xml +++ b/monsters.xml @@ -952,7 +952,7 @@ physical-defence="5" magical-defence="0" /> - <!-- doesn't move much, but attacks when you are comming too close. --> + <!-- doesn't move much, but attacks when you are coming too close. --> <behavior aggressive="false" cowardly="false" @@ -960,7 +960,7 @@ stroll-range="1" attack-distance="64" /> - <!-- slow, strong, long-range tail attack--> + <!-- slow, strong, long-range glow attack--> <attack id="1" priority="1" type="physical" @@ -974,4 +974,40 @@ /> </monster> + <monster id="39" name="Snail"> + <sprite>monster-snail.xml</sprite> + <exp>200</exp> + <attributes + hp="220" + size="8" + speed="42" + attack-min="40" + attack-delta="20" + attack-magic="0" + hit="20" + evade="5" + physical-defence="45" + magical-defence="5" + /> + <!-- doesn't move much, but attacks when you are coming too close. --> + <behavior + aggressive="false" + cowardly="false" + track-range="2" + stroll-range="1" + attack-distance="64" + /> + <!-- slow, strong, bite attack--> + <attack id="1" + priority="1" + type="physical" + pre-delay="5" + aft-delay="5" + damage-factor="3" + range="64" + angle="10" + action="special1" + /> + </monster> + </monsters> |