godot-shooter / meteor / files / Smoke.tscn
Branch meteor · default branch · all branches
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] | |
| 9 | colors = PoolColorArray( 0, 0, 0, 1, 1, 1, 1, 0 ) | |
| 10 | ||
| 11 | [node name="Smoke" type="Node2D"] | |
| 12 | ||
| 13 | [node name="Particles2D" type="CPUParticles2D" parent="."] | |
| 14 | amount = 40 | |
| 15 | explosiveness = 0.2 | |
| 16 | lifetime_randomness = 0.5 | |
| 17 | texture = ExtResource( 1 ) | |
| 18 | direction = Vector2( -10, 0 ) | |
| 19 | spread = 180.0 | |
| 20 | gravity = Vector2( 0, -98 ) | |
| 21 | initial_velocity = 20.0 | |
| 22 | tangential_accel = 100.0 | |
| 23 | damping = 5.91 | |
| 24 | damping_random = 0.25 | |
| 25 | scale_amount_curve = SubResource( 1 ) | |
| 26 | color = Color( 0.427451, 0.427451, 0.427451, 0.258824 ) | |
| 27 | color_ramp = SubResource( 2 ) |