diff options
-rw-r--r-- | graphics/particles/monster-goblin-firebreath.particle.xml (renamed from graphics/particles/firegoblinbreath.particle.xml) | 0 | ||||
-rw-r--r-- | graphics/particles/monster-lizard-firebreath.particle.xml | 43 | ||||
-rw-r--r-- | graphics/sprites/monster-lizard.png | bin | 0 -> 45556 bytes | |||
-rw-r--r-- | graphics/sprites/monster-lizard.xml | 67 | ||||
-rw-r--r-- | monsters.xml | 35 |
5 files changed, 144 insertions, 1 deletions
diff --git a/graphics/particles/firegoblinbreath.particle.xml b/graphics/particles/monster-goblin-firebreath.particle.xml index 0a12b7ef..0a12b7ef 100644 --- a/graphics/particles/firegoblinbreath.particle.xml +++ b/graphics/particles/monster-goblin-firebreath.particle.xml diff --git a/graphics/particles/monster-lizard-firebreath.particle.xml b/graphics/particles/monster-lizard-firebreath.particle.xml new file mode 100644 index 00000000..b19467cc --- /dev/null +++ b/graphics/particles/monster-lizard-firebreath.particle.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> + +<!-- +A horizontal flame burst with a range of about 60 pixels. +Creates up to 400 particles but only for a very brief moment. +used for the fire breath attack of the fire lizard. mostly a copy&paste from the fire goblin, just with +positions and vectors tuned. +--> + +<effect> + <particle + position-x = "0" + position-y = "0" + position-z = "16" + lifetime = "25" + > + <emitter> + <property name="position-x" min="0" max="0"/> + <property name="position-y" min="14" max="14"/> + <property name="position-z" min="40" max="40"/> + <property name="horizontal-angle" min="90" max="100"/> + <property name="vertical-angle" min="-30" max="-20"/> + <property name="power" min="2" max="4"/> + <property name="momentum" value="0.97" /> + <property name="gravity" value="-0.04"/> + <animation imageset="graphics/particles/aniblaze-medium.png|W:#000000,ffffff,ffff00,ff0000" width="16" height="16"> + <frame index="0" delay="5" /> + <frame index="1" delay="10" /> + <frame index="2" delay="15" /> + <frame index="3" delay="25" /> + <frame index="4" delay="35" /> + <frame index="5" delay="60" /> + <frame index="6" delay="95" /> + <frame index="7" delay="160" /> + <frame index="8" delay="9999" /> + </animation> + <property name="lifetime" min="0" max="80"/> + <property name="output" min="10" max="30"/> + <property name="fade-in" value="10"/> + <property name="fade-out" value="60"/> + </emitter> + </particle> +</effect>
\ No newline at end of file diff --git a/graphics/sprites/monster-lizard.png b/graphics/sprites/monster-lizard.png Binary files differnew file mode 100644 index 00000000..d33aa0b5 --- /dev/null +++ b/graphics/sprites/monster-lizard.png diff --git a/graphics/sprites/monster-lizard.xml b/graphics/sprites/monster-lizard.xml new file mode 100644 index 00000000..9a4be0a8 --- /dev/null +++ b/graphics/sprites/monster-lizard.xml @@ -0,0 +1,67 @@ +<?xml version="1.0"?> +<sprite> + + <imageset name="base" src="graphics/sprites/monster-lizard.png|W" width="80" height="56" /> + + +<action name="stand" imageset="base"> + <animation direction="down"> + <frame index="26" /> + </animation> + <animation direction="left"> + <frame index="14" /> + </animation> + <animation direction="up"> + <frame index="38" /> + </animation> + <animation direction="right"> + <frame index="2" /> + </animation> + </action> + + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="24" end="29" delay="75" /> + </animation> + <animation direction="left"> + <sequence start="12" end="17" delay="75" /> + </animation> + <animation direction="up"> + <sequence start="36" end="41" delay="75" /> + </animation> + <animation direction="right"> + <sequence start="0" end="5" delay="75" /> + </animation> + </action> + + + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="11" delay="100" /> + <frame index="23" delay="100" /> + <frame index="35" delay="100" /> + <frame index="47" delay="0" /> + <frame index="47" delay="0" /> + </animation> + </action> + + + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="30" end="34" delay="75" /> + <end /> + </animation> + <animation direction="left"> + <sequence start="18" end="22" delay="75" /> + <end /> + </animation> + <animation direction="up"> + <sequence start="42" end="46" delay="75" /> + <end /> + </animation> + <animation direction="right"> + <sequence start="6" end="10" delay="75" /> + <end /> + </animation> + </action> +</sprite> diff --git a/monsters.xml b/monsters.xml index 804c04c6..48ff4e0f 100644 --- a/monsters.xml +++ b/monsters.xml @@ -352,7 +352,7 @@ range="32" angle="10" animation="attack" - particle-effect="graphics/particles/firegoblinbreath.particle.xml" + particle-effect="graphics/particles/monster-goblin-firebreath.particle.xml" /> </monster> @@ -894,4 +894,37 @@ /> </monster> + <monster id="37" name="Fire Lizard"> + <sprite>monster-lizard.xml|#673132,923F42,CD5961,E163A4,ffffff</sprite> + <sound event="hit">fire-goblin-hit1.ogg</sound> + <sound event="hit">fire-goblin-hit2.ogg</sound> + <sound event="miss">fire-goblin-miss1.ogg</sound> + <!-- stats identical to maggot - change this when making up real monster stats --> + <attributes + hp="20" + size="4" + speed="64" + attack-min="10" + attack-delta="2" + attack-magic="0" + hit="10" + evade="10" + physical-defence="5" + magical-defence="0" + mutation="50" + /> + <attack id="1" + priority="1" + type="magical" + element="fire" + pre-delay="10" + aft-delay="5" + damage-factor="1" + range="32" + angle="10" + animation="attack" + particle-effect="graphics/particles/monster-lizard-firebreath.particle.xml" + /> + </monster> + </monsters> |