summaryrefslogtreecommitdiff
path: root/graphics/particles
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-02-25 13:13:44 +0100
committerSaulc <lucashelaine14@gmail.com>2018-02-25 13:13:44 +0100
commita88668185ccf846a5991a93109a61db34ddb105f (patch)
tree7cbe14209b674507b629fefbed49e4a7ad0c127c /graphics/particles
parenta6e6d37259ce106ddf8459337bd56c7685cc3e8f (diff)
downloadclientdata-a88668185ccf846a5991a93109a61db34ddb105f.tar.gz
clientdata-a88668185ccf846a5991a93109a61db34ddb105f.tar.bz2
clientdata-a88668185ccf846a5991a93109a61db34ddb105f.tar.xz
clientdata-a88668185ccf846a5991a93109a61db34ddb105f.zip
add small flame effect
Diffstat (limited to 'graphics/particles')
-rw-r--r--graphics/particles/flame.particle.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/particles/flame.particle.xml b/graphics/particles/flame.particle.xml
new file mode 100644
index 00000000..78eb8a7c
--- /dev/null
+++ b/graphics/particles/flame.particle.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+Small flame with a point-like source designed for the lamps on the cave
+tileset but it should also work to visualize some kind of torch or - when
+launched by a parent emitter - a small fireball.
+-->
+<effect>
+ <particle position-x="17" position-y="0" position-z="32">
+ <emitter>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0.1" max="0.3"/>
+ <property name="gravity" value="-0.02"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" min="35" max="50"/>
+ <property name="output" min="0" max="2"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="10"/>
+ </emitter>
+ </particle>
+</effect>