-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGUI.tscn
107 lines (97 loc) · 2.9 KB
/
GUI.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=7 format=3 uid="uid://rgsd8s858iep"]
[ext_resource type="Texture2D" uid="uid://c022fsfm044io" path="res://Background.png" id="1"]
[ext_resource type="FontFile" uid="uid://bbr6hbij3kfni" path="res://Fonts/akkurat_normal.ttf" id="2_i4rcp"]
[ext_resource type="Script" path="res://Score.gd" id="3"]
[ext_resource type="Script" path="res://Level.gd" id="4_xqwcc"]
[ext_resource type="Script" path="res://Button.gd" id="5"]
[ext_resource type="Texture2D" uid="uid://c5ktyo0yj8gwd" path="res://Start.png" id="5_hivdm"]
[node name="GUI" type="Control"]
custom_minimum_size = Vector2(1024, 600)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="GameOver" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1")
[node name="Label" type="Label" parent="GameOver"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -406.0
offset_top = -105.0
offset_right = 419.0
offset_bottom = 258.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("2_i4rcp")
theme_override_font_sizes/font_size = 250
text = "Game Over"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ScoreLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 34.0
offset_top = 29.0
offset_right = 272.0
offset_bottom = 109.0
theme_override_fonts/font = ExtResource("2_i4rcp")
theme_override_font_sizes/font_size = 80
text = "Score:"
[node name="Score" type="Label" parent="."]
layout_mode = 0
offset_left = 289.0
offset_top = 33.0
offset_right = 379.0
offset_bottom = 113.0
theme_override_colors/font_color = Color(0.898039, 0.819608, 0, 1)
theme_override_fonts/font = ExtResource("2_i4rcp")
theme_override_font_sizes/font_size = 80
text = "0"
script = ExtResource("3")
[node name="LevelLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 397.0
offset_top = 31.0
offset_right = 615.0
offset_bottom = 130.0
theme_override_fonts/font = ExtResource("2_i4rcp")
theme_override_font_sizes/font_size = 80
text = "Level:"
[node name="Level" type="Label" parent="."]
layout_mode = 0
offset_left = 627.0
offset_top = 33.0
offset_right = 773.0
offset_bottom = 132.0
theme_override_colors/font_color = Color(0.784314, 0, 0.709804, 1)
theme_override_fonts/font = ExtResource("2_i4rcp")
theme_override_font_sizes/font_size = 80
text = "1"
script = ExtResource("4_xqwcc")
[node name="Restart" type="Button" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -194.0
offset_top = 42.0
offset_right = 74.0
offset_bottom = 121.0
grow_horizontal = 0
scale = Vector2(0.5, 0.5)
icon = ExtResource("5_hivdm")
flat = true
icon_alignment = 1
script = ExtResource("5")
[connection signal="pressed" from="Restart" to="Restart" method="_on_Button_pressed"]