godot-shooter / files / effects / Smoke.tscn
Smoke.tscn
| 1 | [gd_scene load_steps=4 format=2] |
| 2 | |
| 3 | [ext_resource path="res://assets/kenney_simple-space/PNG/Default/meteor_squareSmall.png" type="Texture" id=1] |
| 4 | |
| 5 | [sub_resource type="Curve" id=1] |
| 6 | _data = [ Vector2( 0, 0.0945946 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ] |
| 7 | |
| 8 | [sub_resource type="Gradient" id=2] |
| 9 | interpolation_mode = 2 |
| 10 | offsets = PoolRealArray( 0, 0.992341, 1 ) |
| 11 | colors = PoolColorArray( 1, 0.305882, 0, 1, 0.364706, 0.364706, 0.364706, 0.419608, 1, 1, 1, 0 ) |
| 12 | |
| 13 | [node name="Smoke" type="Node2D"] |
| 14 | |
| 15 | [node name="Particles2D" type="CPUParticles2D" parent="."] |
| 16 | amount = 10 |
| 17 | lifetime = 0.5 |
| 18 | speed_scale = 0.5 |
| 19 | explosiveness = 0.2 |
| 20 | lifetime_randomness = 0.5 |
| 21 | texture = ExtResource( 1 ) |
| 22 | emission_shape = 1 |
| 23 | emission_sphere_radius = 1.0 |
| 24 | direction = Vector2( -10, 0 ) |
| 25 | spread = 180.0 |
| 26 | gravity = Vector2( 0, -98 ) |
| 27 | initial_velocity = 20.0 |
| 28 | tangential_accel = 100.0 |
| 29 | damping = 5.91 |
| 30 | damping_random = 0.25 |
| 31 | scale_amount = 0.5 |
| 32 | scale_amount_curve = SubResource( 1 ) |
| 33 | color_ramp = SubResource( 2 ) |