-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhit_particles.tscn
41 lines (34 loc) · 1.01 KB
/
hit_particles.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[gd_scene load_steps=5 format=2]
[sub_resource type="CanvasItemMaterial" id=1]
blend_mode = 1
[sub_resource type="Gradient" id=2]
offsets = PoolRealArray( 0, 0.450331, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 1, 0.398438, 0, 0.818309, 1, 0, 0, 0 )
[sub_resource type="GradientTexture" id=3]
gradient = SubResource( 2 )
[sub_resource type="ParticlesMaterial" id=4]
flag_disable_z = true
spread = 65.12
gravity = Vector3( 0, 0, 0 )
initial_velocity = 400.0
initial_velocity_random = 0.7
angular_velocity = 1.5
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = -500.0
scale = 8.0
scale_random = 1.0
color_ramp = SubResource( 3 )
[node name="hit_particles" type="Node2D"]
[node name="Particles2D" type="Particles2D" parent="."]
material = SubResource( 1 )
amount = 400
lifetime = 0.6
explosiveness = 1.0
randomness = 1.0
process_material = SubResource( 4 )
[node name="Timer" type="Timer" parent="."]
wait_time = 0.6
one_shot = true
autostart = true
[connection signal="timeout" from="Timer" to="." method="queue_free"]