dungeon_crawler
annotate prototype/data/fire.psys @ 52:bcdea26c8f27
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 18 Sep 2012 18:34:28 +0300 |
parents | f3030df27110 |
children | 1ea56011c1ff |
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@52 | 15 life = 0.9 |
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@52 | 21 pcolor(0) = [1.0 0.5 0.2] |
nuclear@52 | 22 pcolor(700) = [1.0 0.3 0.2] |
nuclear@52 | 23 pcolor(900) = [0.4 0.4 0.4] |
nuclear@46 | 24 |
nuclear@46 | 25 palpha(0) = 1 |
nuclear@52 | 26 palpha(700) = 0.8 |
nuclear@52 | 27 palpha(900) = 0 |