dungeon_crawler
diff prototype/data/fire.psys @ 46:f3030df27110
debugging the particles
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Thu, 13 Sep 2012 06:33:51 +0300 |
parents | |
children | bcdea26c8f27 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/prototype/data/fire.psys Thu Sep 13 06:33:51 2012 +0300 1.3 @@ -0,0 +1,27 @@ 1.4 +# fire particle system definition 1.5 +# 1.6 +# lines of key = value pairs. 1.7 +# animated attributes can be defined as key(time) = value. 1.8 +# time defaults to 0 if missing. time values can have an optional s suffix, 1.9 +# signifying seconds, otherwise they are assumed to be in milliseconds. 1.10 +# 1.11 +# string values enclosed in double quotes 1.12 +# vector values enclosed in square brackets [x y z] 1.13 +# randomized values have a pair of values/vectors separated by a tilde: 1.14 +# center ~ range. If the range is missing, it's assumed to be 0. 1.15 + 1.16 +texture = "fire_particle.png" 1.17 +rate = 20 1.18 +life = 1 1.19 +grav = [0 0.5 0] 1.20 +spawn_range = 0.025 1.21 + 1.22 +size = 0.1 1.23 + 1.24 +pcolor(0) = [0.91 0.89 0.65] 1.25 +pcolor(700) = [1.0 0.3 0.12] 1.26 +pcolor(1000) = [1.0 0.3 0.12] 1.27 + 1.28 +palpha(0) = 1 1.29 +palpha(700) = 1 1.30 +palpha(1000) = 0