godot-shooter / files / effects / Smoke.tscn
Smoke.tscn
e79aaa8f 2023-11-02 Pavel Safronov | 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] | |
5156ba97 2023-11-06 Pavel Safronov | 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 ) | |
e79aaa8f 2023-11-02 Pavel Safronov | 12 | |
| 13 | [node name="Smoke" type="Node2D"] | |
| 14 | ||
| 15 | [node name="Particles2D" type="CPUParticles2D" parent="."] | |
0bfcffe2 2023-11-07 Pavel Safronov | 16 | amount = 10 |
8ff7be41 2023-11-08 Pavel Safronov | 17 | lifetime = 0.5 |
| 18 | speed_scale = 0.5 | |
e79aaa8f 2023-11-02 Pavel Safronov | 19 | explosiveness = 0.2 |
| 20 | lifetime_randomness = 0.5 | |
| 21 | texture = ExtResource( 1 ) | |
a6145696 2023-11-06 Pavel Safronov | 22 | emission_shape = 1 |
8ff7be41 2023-11-08 Pavel Safronov | 23 | emission_sphere_radius = 1.0 |
e79aaa8f 2023-11-02 Pavel Safronov | 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 | |
8ff7be41 2023-11-08 Pavel Safronov | 31 | scale_amount = 0.5 |
e79aaa8f 2023-11-02 Pavel Safronov | 32 | scale_amount_curve = SubResource( 1 ) |
| 33 | color_ramp = SubResource( 2 ) |