Line | |
---|
1 | GameTools/DemoParticle1
|
---|
2 | {
|
---|
3 | renderer sprite
|
---|
4 | material GameTools/SpriteShader
|
---|
5 | particle_width 200
|
---|
6 | particle_height 200
|
---|
7 | cull_each false
|
---|
8 | quota 30
|
---|
9 | billboard_type point
|
---|
10 |
|
---|
11 | // Area emitter
|
---|
12 | emitter Box
|
---|
13 | {
|
---|
14 | // colour 0.7 0.8 0.3 0
|
---|
15 | colour_range_start 1 1 1 0
|
---|
16 | colour_range_end 0.8 1 0.5 0
|
---|
17 |
|
---|
18 | angle 30
|
---|
19 | emission_rate 6
|
---|
20 | time_to_live 3
|
---|
21 | direction 0 1 0
|
---|
22 | velocity 0
|
---|
23 | width 120
|
---|
24 | height 120
|
---|
25 | depth 30
|
---|
26 | }
|
---|
27 |
|
---|
28 | // Make em float upwards
|
---|
29 | affector LinearForce
|
---|
30 | {
|
---|
31 | force_vector 0 40 0
|
---|
32 | force_application add
|
---|
33 | }
|
---|
34 |
|
---|
35 | affector ColourFader2
|
---|
36 | {
|
---|
37 | alpha1 +0.5
|
---|
38 | alpha2 -0.5
|
---|
39 | state_change 0.5
|
---|
40 | }
|
---|
41 | }
|
---|
42 |
|
---|
43 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.