-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.tscn
127 lines (109 loc) · 3.4 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Circle.gd" type="Script" id=1]
[ext_resource path="res://Main.gd" type="Script" id=2]
[ext_resource path="res://assets/fonts/lcd.14.otf" type="DynamicFontData" id=3]
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 16.0
content_margin_right = 16.0
content_margin_top = 4.0
content_margin_bottom = 4.0
bg_color = Color( 0.258824, 0.254902, 0.270588, 1 )
[sub_resource type="DynamicFont" id=3]
size = 64
font_data = ExtResource( 3 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.168627, 0.180392, 0.196078, 1 )
corner_radius_top_left = 64
corner_radius_top_right = 64
corner_radius_bottom_right = 64
corner_radius_bottom_left = 64
[node name="Main" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
_reference_circle = NodePath("Container/Display/DisplayContainer/Panel/Reference")
_circles = NodePath("Container/Circles")
_level_label = NodePath("Container/Display/DisplayContainer/DisplayLeft/LevelContainer/Level")
[node name="Container" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Circles" type="Control" parent="Container"]
margin_right = 1024.0
margin_bottom = 492.0
rect_clip_content = true
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Display" type="PanelContainer" parent="Container"]
margin_top = 496.0
margin_right = 1024.0
margin_bottom = 600.0
custom_styles/panel = SubResource( 1 )
[node name="DisplayContainer" type="HBoxContainer" parent="Container/Display"]
margin_left = 16.0
margin_top = 4.0
margin_right = 1008.0
margin_bottom = 100.0
rect_min_size = Vector2( 0, 96 )
[node name="DisplayLeft" type="HBoxContainer" parent="Container/Display/DisplayContainer"]
margin_right = 447.0
margin_bottom = 96.0
size_flags_horizontal = 3
[node name="LevelContainer" type="VBoxContainer" parent="Container/Display/DisplayContainer/DisplayLeft"]
margin_right = 46.0
margin_bottom = 96.0
[node name="LevelLabel" type="Label" parent="Container/Display/DisplayContainer/DisplayLeft/LevelContainer"]
margin_right = 46.0
margin_bottom = 14.0
text = "Level"
align = 1
[node name="Level" type="Label" parent="Container/Display/DisplayContainer/DisplayLeft/LevelContainer"]
margin_top = 18.0
margin_right = 46.0
margin_bottom = 83.0
custom_fonts/font = SubResource( 3 )
text = "0"
[node name="Panel" type="Panel" parent="Container/Display/DisplayContainer"]
margin_left = 451.0
margin_top = 3.0
margin_right = 541.0
margin_bottom = 93.0
rect_min_size = Vector2( 90, 90 )
size_flags_vertical = 4
custom_styles/panel = SubResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Reference" type="Control" parent="Container/Display/DisplayContainer/Panel"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -32.0
margin_top = -32.0
margin_right = 32.0
margin_bottom = 32.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": ""
}
[node name="DisplayRight" type="Control" parent="Container/Display/DisplayContainer"]
margin_left = 545.0
margin_right = 992.0
margin_bottom = 96.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Timer" type="Timer" parent="."]
wait_time = 0.5
one_shot = true
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]