-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjump_particles.tscn
39 lines (32 loc) · 981 Bytes
/
jump_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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://jump_particles.gd" type="Script" id=1]
[sub_resource type="Curve" id=1]
_data = [ Vector2( 0, 0.785227 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0272727 ), -0.205549, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=2]
curve = SubResource( 1 )
[sub_resource type="ParticlesMaterial" id=3]
direction = Vector3( 0, 1, 0 )
spread = 180.0
gravity = Vector3( 0, 0.1, 0 )
initial_velocity = 0.78
damping = 1.28
scale_curve = SubResource( 2 )
[sub_resource type="SphereMesh" id=4]
radius = 0.108
height = 0.144
radial_segments = 16
rings = 8
[node name="jump_particles" type="Particles"]
layers = 2
emitting = false
amount = 19
lifetime = 0.8
one_shot = true
explosiveness = 1.0
local_coords = false
process_material = SubResource( 3 )
draw_pass_1 = SubResource( 4 )
script = ExtResource( 1 )
[node name="Timer" type="Timer" parent="."]
autostart = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]