fuzzyworld

godot-shooter / meteor / files / SmallExplosion.tscn

Branch meteor · default branch · all branches

SmallExplosion.tscn

1.1 KB · history · blame

1[gd_scene load_steps=5 format=2]
2
3[ext_resource path="res://assets/kenney_simple-space/PNG/Default/star_small.png" type="Texture" id=1]
4[ext_resource path="res://SmallExplosion.gd" type="Script" id=2]
5
6[sub_resource type="Curve" id=1]
7_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
8
9[sub_resource type="Gradient" id=4]
10offsets = PoolRealArray( 0, 0.941935, 1 )
11colors = PoolColorArray( 1, 1, 1, 1, 1, 0.0580645, 0.0580645, 1, 1, 0, 0, 1 )
12
13[node name="SmallExplosion" type="CPUParticles2D"]
14amount = 25
15lifetime = 0.5
16explosiveness = 1.0
17texture = ExtResource( 1 )
18emission_shape = 1
19emission_sphere_radius = 0.01
20spread = 180.0
21gravity = Vector2( 0, 0 )
22initial_velocity = 200.0
23initial_velocity_random = 0.52
24damping = 1000.0
25angle = 306.5
26angle_random = 0.4
27scale_amount = 0.5
28scale_amount_random = 1.0
29scale_amount_curve = SubResource( 1 )
30color_ramp = SubResource( 4 )
31script = ExtResource( 2 )
32
33[node name="Timer" type="Timer" parent="."]
34wait_time = 0.5
35one_shot = true
36autostart = true
37
38[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]