Add a better firework effect !
This commit is contained in:
parent
beca77e94f
commit
d80c7136e0
@ -14,13 +14,13 @@
|
|||||||
max="100" />
|
max="100" />
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
||||||
<lifetime min="700"
|
<lifetime min="1700"
|
||||||
max="700" />
|
max="1700" />
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
<!-- Size of the particles -->
|
||||||
<size min="0.5"
|
<size min="0.7"
|
||||||
max="0.8"
|
max="1.1"
|
||||||
x-increase-factor="1.1"
|
x-increase-factor="1.3"
|
||||||
y-increase-factor="1.3"
|
y-increase-factor="1.3"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
33
data/gfx/gfx_fireworkGreen_a.xml
Normal file
33
data/gfx/gfx_fireworkGreen_a.xml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<particles emitter="sphere" radius="0.5">
|
||||||
|
|
||||||
|
<spreading angle="180" />
|
||||||
|
|
||||||
|
<velocity x="0.03"
|
||||||
|
y="0.003"
|
||||||
|
z="0.03" />
|
||||||
|
|
||||||
|
<material file="gfx_sparkGreen_a.png" />
|
||||||
|
|
||||||
|
<!-- Amount of particles emitted per second -->
|
||||||
|
<rate min="65"
|
||||||
|
max="100" />
|
||||||
|
|
||||||
|
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
||||||
|
<lifetime min="2700"
|
||||||
|
max="2700" />
|
||||||
|
|
||||||
|
<!-- Size of the particles -->
|
||||||
|
<size min="0.5"
|
||||||
|
max="0.8"
|
||||||
|
x-increase-factor="1.1"
|
||||||
|
y-increase-factor="1.3"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<color min="255 255 255"
|
||||||
|
max="255 0 0" />
|
||||||
|
|
||||||
|
<!-- How much time in milliseconds before the particle is fully faded out -->
|
||||||
|
<fadeout time="50" />
|
||||||
|
|
||||||
|
</particles>
|
Loading…
Reference in New Issue
Block a user