-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.tscn
110 lines (75 loc) · 2.61 KB
/
Main.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
108
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Bead.tscn" type="PackedScene" id=2]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=3]
[ext_resource path="res://Ring.tscn" type="PackedScene" id=4]
[ext_resource path="res://hit1.wav" type="AudioStream" id=5]
[ext_resource path="res://hit2.wav" type="AudioStream" id=6]
[ext_resource path="res://hit3.wav" type="AudioStream" id=7]
[node name="Main" type="Node2D"]
script = ExtResource( 1 )
Bead = ExtResource( 2 )
BEAD_VELOCITY = 250.0
[node name="HUD" parent="." instance=ExtResource( 3 )]
[node name="Ring" parent="." instance=ExtResource( 4 )]
position = Vector2( 450, 450 )
angular_velocity = 0.452631
_sections_unfolded = [ "Angular", "Transform", "Visibility" ]
MAX_ANGULAR_VELOCITY = 0.652631
[node name="StartTimer" type="Timer" parent="."]
process_mode = 1
wait_time = 3.0
one_shot = true
autostart = true
[node name="WinTimer" type="Timer" parent="."]
process_mode = 1
wait_time = 5.0
one_shot = true
autostart = false
[node name="IncomingBeadTimer" type="Timer" parent="."]
process_mode = 1
wait_time = 1.5
one_shot = false
autostart = false
[node name="InstructionsTimer" type="Timer" parent="."]
process_mode = 1
wait_time = 1.0
one_shot = true
autostart = false
[node name="Launchers" type="Node" parent="."]
editor/display_folded = true
[node name="TopLeft" type="Position2D" parent="Launchers"]
[node name="TopRight" type="Position2D" parent="Launchers"]
position = Vector2( 900, 0 )
[node name="BottomRight" type="Position2D" parent="Launchers"]
position = Vector2( 900, 900 )
[node name="BottomLeft" type="Position2D" parent="Launchers"]
position = Vector2( 0, 900 )
[node name="Hit1" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 5 )
volume_db = 0.0
autoplay = false
max_distance = 2000.0
attenuation = 1.0
bus = "Master"
area_mask = 1
[node name="Hit2" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 6 )
volume_db = 0.0
autoplay = false
max_distance = 2000.0
attenuation = 1.0
bus = "Master"
area_mask = 1
[node name="Hit3" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 7 )
volume_db = 0.0
autoplay = false
max_distance = 2000.0
attenuation = 1.0
bus = "Master"
area_mask = 1
[connection signal="remove_instructions" from="Ring" to="." method="_on_Ring_remove_instructions"]
[connection signal="timeout" from="StartTimer" to="." method="_on_StartTimer_timeout"]
[connection signal="timeout" from="WinTimer" to="." method="_on_StartTimer_timeout"]
[connection signal="timeout" from="IncomingBeadTimer" to="." method="_on_IncomingBeadTimer_timeout"]