The particle effect

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
samuncle 2013-06-23 20:41:28 +00:00
parent 416a05ec39
commit 370a1506a4

30
data/gfx/nitro-smoke.xml Normal file
View File

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<particles emitter="box" box_x="0.35" box_y="0.2" box_z="0.2">
<spreading angle="30" />
<velocity x="0.0"
y="0.001"
z="-0.003" />
<material file="smoke_nitro.png" />
<!-- Amount of particles emitted per second -->
<rate min="200"
max="300" />
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
<lifetime min="400"
max="600" />
<!-- Size of the particles -->
<size min="0.20"
max="0.40" />
<color min="255 255 255"
max="255 255 255" />
<!-- How much time in milliseconds before the particle is fully faded out -->
<fadeout time="100" />
</particles>