-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLiquidSort.tscn
107 lines (92 loc) · 3 KB
/
LiquidSort.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[gd_scene load_steps=11 format=2]
[ext_resource path="res://LiquidSort.gd" type="Script" id=1]
[ext_resource path="res://assets/Bubble.png" type="Texture" id=2]
[ext_resource path="res://assets/science.png" type="Texture" id=3]
[ext_resource path="res://minigame_background.gdshader" type="Shader" id=4]
[sub_resource type="Gradient" id=2]
offsets = PoolRealArray( 0, 0.219178, 1 )
colors = PoolColorArray( 1, 1, 1, 0.00392157, 1, 1, 1, 1, 1, 1, 1, 1 )
[sub_resource type="GradientTexture" id=3]
gradient = SubResource( 2 )
[sub_resource type="Curve" id=4]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.958838, 0.874099 ), -0.487238, -3.35595, 0, 0, Vector2( 1, 0 ), -2.88135, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=5]
curve = SubResource( 4 )
[sub_resource type="ParticlesMaterial" id=1]
emission_shape = 1
emission_sphere_radius = 5.0
flag_disable_z = true
gravity = Vector3( 0, 50, 0 )
initial_velocity_random = 0.2
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 0.02
scale_random = 0.02
scale_curve = SubResource( 5 )
color = Color( 1, 1, 1, 0.392157 )
color_ramp = SubResource( 3 )
[sub_resource type="ShaderMaterial" id=6]
shader = ExtResource( 4 )
shader_param/radius = 1.0
[node name="LiquidSort" type="Control"]
modulate = Color( 1, 1, 1, 0.784314 )
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
col1 = Color( 0.682353, 0.0784314, 0.0784314, 1 )
col2 = Color( 0.235294, 0.235294, 0.8, 1 )
col3 = Color( 0.207843, 0.615686, 0.207843, 1 )
[node name="Countdown" type="Timer" parent="."]
wait_time = 60.0
one_shot = true
[node name="Bubbles1" type="Particles2D" parent="."]
position = Vector2( 571, 345 )
rotation = 3.14159
scale = Vector2( 5, 5 )
preprocess = 10.0
speed_scale = 0.1
visibility_rect = Rect2( -100, 0, 200, 100 )
process_material = SubResource( 1 )
texture = ExtResource( 2 )
[node name="Bubbles2" type="Particles2D" parent="."]
position = Vector2( 431, 398 )
rotation = 3.14159
scale = Vector2( 5, 5 )
preprocess = 10.0
speed_scale = 0.1
visibility_rect = Rect2( -100, 0, 200, 100 )
process_material = SubResource( 1 )
texture = ExtResource( 2 )
[node name="Bubbles3" type="Particles2D" parent="."]
position = Vector2( 686, 319 )
rotation = 3.14159
scale = Vector2( 5, 5 )
preprocess = 10.0
speed_scale = 0.1
visibility_rect = Rect2( -100, 0, 200, 100 )
process_material = SubResource( 1 )
texture = ExtResource( 2 )
[node name="Bubbles4" type="Particles2D" parent="."]
position = Vector2( 338, 282 )
rotation = 3.14159
scale = Vector2( 5, 5 )
preprocess = 10.0
speed_scale = 0.1
visibility_rect = Rect2( -100, 0, 200, 100 )
process_material = SubResource( 1 )
texture = ExtResource( 2 )
[node name="Background" type="TextureRect" parent="."]
modulate = Color( 1, 1, 1, 0.588235 )
show_behind_parent = true
material = SubResource( 6 )
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 3 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="timeout" from="Countdown" to="." method="_on_Countdown_timeout"]