|
@@ -0,0 +1,639 @@
|
|
|
+emitters {
|
|
|
+ id: "fire"
|
|
|
+ mode: PLAY_MODE_LOOP
|
|
|
+ duration: 1.0
|
|
|
+ space: EMISSION_SPACE_WORLD
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.1
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ tile_source: "/assets/sprites.atlas"
|
|
|
+ animation: "flame"
|
|
|
+ material: "/builtins/materials/particlefx.material"
|
|
|
+ blend_mode: BLEND_MODE_ALPHA
|
|
|
+ particle_orientation: PARTICLE_ORIENTATION_DEFAULT
|
|
|
+ inherit_velocity: 0.0
|
|
|
+ max_particle_count: 128
|
|
|
+ type: EMITTER_TYPE_CIRCLE
|
|
|
+ start_delay: 0.0
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SPAWN_RATE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 35.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 10.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_X
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 100.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_Y
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 12.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_Z
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_LIFE_TIME
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 2.5
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_SPEED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 30.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_SIZE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 60.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_RED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_GREEN
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_BLUE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_ALPHA
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.8
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.2
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_ROTATION
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 180.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_SCALE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.89335895
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 0.15953489
|
|
|
+ y: 0.9837815
|
|
|
+ t_x: 0.9999661
|
|
|
+ t_y: -0.008235919
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 0.38265744
|
|
|
+ t_x: 0.65618813
|
|
|
+ t_y: -0.7545973
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_RED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.6145592
|
|
|
+ t_x: 0.30469579
|
|
|
+ t_y: 0.95244974
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 0.1056932
|
|
|
+ t_x: 0.62951744
|
|
|
+ t_y: -0.77698636
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_GREEN
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.90063024
|
|
|
+ t_x: 0.98071337
|
|
|
+ t_y: 0.19545136
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 0.0052434118
|
|
|
+ t_x: 0.8684664
|
|
|
+ t_y: -0.49574804
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_BLUE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_ALPHA
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 0.07194582
|
|
|
+ t_y: 0.99740857
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 0.11320755
|
|
|
+ y: 0.99277455
|
|
|
+ t_x: 0.99418455
|
|
|
+ t_y: 0.10768964
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 0.6624174
|
|
|
+ y: 0.5364643
|
|
|
+ t_x: 0.5694311
|
|
|
+ t_y: -0.82203907
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 8.2818E-4
|
|
|
+ t_x: 0.91777724
|
|
|
+ t_y: -0.39709562
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_ROTATION
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ modifiers {
|
|
|
+ type: MODIFIER_TYPE_ACCELERATION
|
|
|
+ use_direction: 0
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAGNITUDE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 50.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ modifiers {
|
|
|
+ type: MODIFIER_TYPE_RADIAL
|
|
|
+ use_direction: 0
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 150.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAGNITUDE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: -50.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAX_DISTANCE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1000.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ size_mode: SIZE_MODE_MANUAL
|
|
|
+ start_delay_spread: 0.0
|
|
|
+ duration_spread: 0.0
|
|
|
+ stretch_with_velocity: false
|
|
|
+ start_offset: 0.0
|
|
|
+ pivot {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+}
|
|
|
+emitters {
|
|
|
+ id: "smoke"
|
|
|
+ mode: PLAY_MODE_LOOP
|
|
|
+ duration: 1.0
|
|
|
+ space: EMISSION_SPACE_WORLD
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 60.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ tile_source: "/assets/sprites.atlas"
|
|
|
+ animation: "smoke"
|
|
|
+ material: "/builtins/materials/particlefx.material"
|
|
|
+ blend_mode: BLEND_MODE_ALPHA
|
|
|
+ particle_orientation: PARTICLE_ORIENTATION_DEFAULT
|
|
|
+ inherit_velocity: 0.0
|
|
|
+ max_particle_count: 32
|
|
|
+ type: EMITTER_TYPE_CIRCLE
|
|
|
+ start_delay: 0.5
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SPAWN_RATE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 4.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 2.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_X
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 30.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 10.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_Y
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 12.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_SIZE_Z
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_LIFE_TIME
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 5.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_SPEED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 10.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 10.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_SIZE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 40.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_RED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_GREEN
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_BLUE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_ALPHA
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.5
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.3
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: EMITTER_KEY_PARTICLE_ROTATION
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 90.0
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_SCALE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.77377826
|
|
|
+ t_x: 0.21358238
|
|
|
+ t_y: 0.9769251
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 0.6946007
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_RED
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_GREEN
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_BLUE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_ALPHA
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 0.07194582
|
|
|
+ t_y: 0.99740857
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 0.11320755
|
|
|
+ y: 0.99277455
|
|
|
+ t_x: 0.99418455
|
|
|
+ t_y: 0.10768964
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 0.7112546
|
|
|
+ y: 0.555656
|
|
|
+ t_x: 0.5694311
|
|
|
+ t_y: -0.82203907
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 0.01853652
|
|
|
+ t_x: 0.9899838
|
|
|
+ t_y: -0.14118116
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_ROTATION
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ points {
|
|
|
+ x: 1.0
|
|
|
+ y: 10.7541
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_STRETCH_FACTOR_X
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_STRETCH_FACTOR_Y
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ particle_properties {
|
|
|
+ key: PARTICLE_KEY_ANGULAR_VELOCITY
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ modifiers {
|
|
|
+ type: MODIFIER_TYPE_ACCELERATION
|
|
|
+ use_direction: 0
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAGNITUDE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 20.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 10.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ modifiers {
|
|
|
+ type: MODIFIER_TYPE_RADIAL
|
|
|
+ use_direction: 0
|
|
|
+ position {
|
|
|
+ x: 0.0
|
|
|
+ y: 150.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+ rotation {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ w: 1.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAGNITUDE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: -40.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 20.0
|
|
|
+ }
|
|
|
+ properties {
|
|
|
+ key: MODIFIER_KEY_MAX_DISTANCE
|
|
|
+ points {
|
|
|
+ x: 0.0
|
|
|
+ y: 1000.0
|
|
|
+ t_x: 1.0
|
|
|
+ t_y: 0.0
|
|
|
+ }
|
|
|
+ spread: 0.0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ size_mode: SIZE_MODE_MANUAL
|
|
|
+ start_delay_spread: 0.3
|
|
|
+ duration_spread: 0.0
|
|
|
+ stretch_with_velocity: false
|
|
|
+ start_offset: 0.0
|
|
|
+ pivot {
|
|
|
+ x: 0.0
|
|
|
+ y: 0.0
|
|
|
+ z: 0.0
|
|
|
+ }
|
|
|
+}
|