enemy_death_particle_system.json 628 Bytes
Newer Older
Florian Oetke's avatar
Florian Oetke committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
	"emitters": [{
		"spawn": [
			{"particles_per_second": 300, "stddev":150, "time": 0.5},
			{"particles_per_second": 0, "stddev":0, "time": 999}
		],
		"spawn_loop": false,

		"size": {"x":0.2, "y":0.2},
		"direction": {"mean":{"elevation":0.1, "azimuth":0}, "stddev":{"elevation":0.1, "azimuth":0.1}},

		"ttl": {"mean": 3, "stddev": 0.0},
		
		"velocity": {"mean": 15, "stddev": 8.0},

		"emit_script_id": "comp_shader:particle_spawn_sphere",

		"type_id": "particle_def:enemy_death_particles"
	}],

	"effectors": [
		{
			"force": 10,
			"force_dir": {"y":-1},
			"distance_decay": 0,
			"scale_with_mass": false
		}
	]
}