fuzzyworld

godot-shooter / files / effects / Smoke.tscn

Smoke.tscn

969 B · history · blame

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]
9interpolation_mode = 2
10offsets = PoolRealArray( 0, 0.992341, 1 )
11colors = 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="."]
16amount = 10
17lifetime = 0.5
18speed_scale = 0.5
19explosiveness = 0.2
20lifetime_randomness = 0.5
21texture = ExtResource( 1 )
22emission_shape = 1
23emission_sphere_radius = 1.0
24direction = Vector2( -10, 0 )
25spread = 180.0
26gravity = Vector2( 0, -98 )
27initial_velocity = 20.0
28tangential_accel = 100.0
29damping = 5.91
30damping_random = 0.25
31scale_amount = 0.5
32scale_amount_curve = SubResource( 1 )
33color_ramp = SubResource( 2 )