-
Notifications
You must be signed in to change notification settings - Fork 1
/
FallEffect.tscn
57 lines (51 loc) · 1.51 KB
/
FallEffect.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Parts/white1x1.png" type="Texture" id=1]
[ext_resource path="res://FallEffect.gd" type="Script" id=2]
[ext_resource path="res://Sprites/circle.png" type="Texture" id=3]
[sub_resource type="Gradient" id=1]
colors = PoolColorArray( 0.611765, 0.776471, 0.85098, 1, 0.611765, 0.776471, 0.85098, 0 )
[sub_resource type="Gradient" id=2]
colors = PoolColorArray( 0.141176, 0.317647, 0.407843, 1, 0.141176, 0.317647, 0.407843, 0.164706 )
[node name="FallEffect" type="Node2D"]
script = ExtResource( 2 )
[node name="Particles" type="CPUParticles2D" parent="."]
z_index = 1
emitting = false
amount = 10
lifetime = 0.5
one_shot = true
explosiveness = 0.5
randomness = 0.45
lifetime_randomness = 0.44
texture = ExtResource( 1 )
emission_shape = 2
emission_rect_extents = Vector2( 7, 4 )
direction = Vector2( 0, -1 )
spread = 20.0
gravity = Vector2( 0, 0 )
initial_velocity = 120.0
initial_velocity_random = 0.5
damping = 200.0
scale_amount = 2.0
scale_amount_random = 1.0
color = Color( 0.611765, 0.776471, 0.85098, 1 )
color_ramp = SubResource( 1 )
[node name="Particles2" type="CPUParticles2D" parent="."]
emitting = false
amount = 10
lifetime = 0.5
one_shot = true
explosiveness = 0.88
randomness = 0.45
lifetime_randomness = 0.57
texture = ExtResource( 3 )
emission_shape = 1
emission_sphere_radius = 1.0
direction = Vector2( 0, -1 )
spread = 180.0
gravity = Vector2( 0, 0 )
initial_velocity = 75.0
damping = 200.0
scale_amount = 2.0
scale_amount_random = 1.0
color_ramp = SubResource( 2 )