dungeon_crawler
annotate 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 |
rev | line source |
---|---|
nuclear@46 | 1 # fire particle system definition |
nuclear@46 | 2 # |
nuclear@46 | 3 # lines of key = value pairs. |
nuclear@46 | 4 # animated attributes can be defined as key(time) = value. |
nuclear@46 | 5 # time defaults to 0 if missing. time values can have an optional s suffix, |
nuclear@46 | 6 # signifying seconds, otherwise they are assumed to be in milliseconds. |
nuclear@46 | 7 # |
nuclear@46 | 8 # string values enclosed in double quotes |
nuclear@46 | 9 # vector values enclosed in square brackets [x y z] |
nuclear@46 | 10 # randomized values have a pair of values/vectors separated by a tilde: |
nuclear@46 | 11 # center ~ range. If the range is missing, it's assumed to be 0. |
nuclear@46 | 12 |
nuclear@46 | 13 texture = "fire_particle.png" |
nuclear@46 | 14 rate = 20 |
nuclear@46 | 15 life = 1 |
nuclear@46 | 16 grav = [0 0.5 0] |
nuclear@46 | 17 spawn_range = 0.025 |
nuclear@46 | 18 |
nuclear@46 | 19 size = 0.1 |
nuclear@46 | 20 |
nuclear@46 | 21 pcolor(0) = [0.91 0.89 0.65] |
nuclear@46 | 22 pcolor(700) = [1.0 0.3 0.12] |
nuclear@46 | 23 pcolor(1000) = [1.0 0.3 0.12] |
nuclear@46 | 24 |
nuclear@46 | 25 palpha(0) = 1 |
nuclear@46 | 26 palpha(700) = 1 |
nuclear@46 | 27 palpha(1000) = 0 |