dungeon_crawler

annotate prototype/data/fire.psys @ 76:f379c00eb07f

added samurai's texel center fix for the color grading palette lookup
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 23 Oct 2012 14:57:08 +0300
parents 1ea56011c1ff
children
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@67 14 rate = 40
nuclear@53 15 life = 0.9 ~ 0.1
nuclear@53 16 grav = [0 0.3 0]
nuclear@46 17 spawn_range = 0.025
nuclear@46 18
nuclear@67 19 size(0) = 0.25
nuclear@67 20 size(1s) = 0.08
nuclear@46 21
nuclear@53 22 pcolor(0) = [1.0 0.7 0.1]
nuclear@53 23 pcolor(1s) = [1.0 0.27 0.15]
nuclear@46 24
nuclear@46 25 palpha(0) = 1
nuclear@53 26 palpha(1s) = 0.1