summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDark Nick <developer@Pirat.(none)>2011-07-04 19:10:15 +0400
committerWombat <hpwombat@yahoo.com>2011-07-04 16:59:28 -0400
commitcd753e5a68da68bc40ef242f7e392e651768f0de (patch)
tree63b3588e7f7f5779331d11d59a820466b914d978
parent77944a99db0e266cd79e58b194629dca12e7d281 (diff)
downloadclientdata-cd753e5a68da68bc40ef242f7e392e651768f0de.tar.gz
clientdata-cd753e5a68da68bc40ef242f7e392e651768f0de.tar.bz2
clientdata-cd753e5a68da68bc40ef242f7e392e651768f0de.tar.xz
clientdata-cd753e5a68da68bc40ef242f7e392e651768f0de.zip
Added particle effect for bonfire.
-rw-r--r--graphics/particles/bonfire.particle.xml123
-rw-r--r--maps/018-1.tmx1
2 files changed, 124 insertions, 0 deletions
diff --git a/graphics/particles/bonfire.particle.xml b/graphics/particles/bonfire.particle.xml
new file mode 100644
index 00000000..0ac91091
--- /dev/null
+++ b/graphics/particles/bonfire.particle.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0"?>
+
+<!--
+Special fire animation for bonfire tile. Can be used only on the open air.
+-->
+
+<effect>
+ <particle
+ position-x = "15"
+ position-y = "0"
+ position-z = "15"
+ >
+ <emitter>
+ <property name="position-x" value="-5"/>
+ <property name="position-y" min="-4" max="-4"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="10"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" value="5"/>
+ <property name="position-y" min="-4" max="-2"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="10"/>
+ </emitter>
+ <emitter>
+ <property name="position-y" min="-4" max="0"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0.0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="10"/>
+ </emitter>
+ <emitter>
+ <property name="position-y" min="-10" max="-20"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="50"/>
+ <property name="power" min="0.2" max="0.4"/>
+ <property name="gravity" value="-0.02"/>
+ <animation imageset="graphics/particles/aniblaze-medium.png|W:#746767" width="16" height="16">
+ <sequence start="0" end="8" delay="90"/>
+ <frame index="14" delay="200"/>
+ </animation>
+ <property name="lifetime" value="50"/>
+ <property name="output" min="0" max="2"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="180"/>
+ </emitter>
+ <emitter>
+ <property name="position-y" value="-10"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="180"/>
+ <property name="power" value="0.5"/>
+ <property name="gravity" value="-0.01"/>
+ <animation imageset="graphics/particles/fog-medium-c.png" width="32" height="32">
+ <frame index="0" delay="100"/>
+ <frame index="0" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="80"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="230"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="2" max="3"/>
+ <property name="position-y" value="-10"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="180"/>
+ <property name="power" value="0.2"/>
+ <property name="gravity" value="-0.01"/>
+ <animation imageset="graphics/particles/orb-small.png|W:#f4c874" width="4" height="4">
+ <frame index="0" delay="100"/>
+ <frame index="0" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="60"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="1"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" min="-3" max="4"/>
+ <property name="position-y" value="-9"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="180"/>
+ <property name="power" value="0.2"/>
+ <property name="gravity" value="-0.01"/>
+ <animation imageset="graphics/particles/orb-small.png|W:#e87a54" width="4" height="4">
+ <frame index="0" delay="100"/>
+ <frame index="0" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="60"/>
+ <property name="output" value="1"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="150"/>
+ </emitter>
+ </particle>
+</effect> \ No newline at end of file
diff --git a/maps/018-1.tmx b/maps/018-1.tmx
index 553d55ce..01febdf1 100644
--- a/maps/018-1.tmx
+++ b/maps/018-1.tmx
@@ -372,5 +372,6 @@
<property name="monster_id" value="53"/>
</properties>
</object>
+ <object name="graphics/particles/bonfire.particle.xml" type="PARTICLE_EFFECT" x="2080" y="2528" width="32" height="32"/>
</objectgroup>
</map>