summaryrefslogtreecommitdiff
path: root/graphics/particles/flame-particle.xml
blob: c7b79fda66ade3d8bf856aff9b4ba1fd0e19f5ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.3" max="0.8"/>
      <property name="gravity" value="-0.02"/>
      <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
        <sequence start="0" end="8" delay="30"/>
        <frame index="8" delay="1000"/>
      </animation>
      <property name="lifetime" min="35" max="50"/>
      <property name="output" min="1" max="3"/>
      <property name="fade-in" value="2"/>
      <property name="fade-out" value="10"/>
    </emitter>
  </particle>
</effect>