-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game Over.tscn
158 lines (138 loc) · 3.98 KB
/
Game Over.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Assets/space_background_2.png" type="Texture" id=1]
[ext_resource path="res://Assets/Fonts/dogicapixelbold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Assets/Fonts/dogicapixel.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://src/Game Over Screen/Game Over Screen.gd" type="Script" id=4]
[ext_resource path="res://Assets/button_small.png" type="Texture" id=5]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 3 )
[node name="Game Over" type="Node2D"]
script = ExtResource( 4 )
_score_path = NodePath("Menu/Final Score/Score")
_quit_path = NodePath("Menu/Quit")
[node name="Background" type="Sprite" parent="."]
position = Vector2( 513.189, 300 )
scale = Vector2( 4, 4 )
texture = ExtResource( 1 )
[node name="Menu" type="VBoxContainer" parent="."]
margin_left = 408.07
margin_top = 205.404
margin_right = 690.07
margin_bottom = 277.404
custom_constants/separation = 16
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Final Score" type="HBoxContainer" parent="Menu"]
margin_right = 282.0
margin_bottom = 12.0
custom_constants/separation = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ScoreText" type="Label" parent="Menu/Final Score"]
margin_right = 148.0
margin_bottom = 12.0
custom_fonts/font = SubResource( 1 )
text = "you scored"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Score" type="Label" parent="Menu/Final Score"]
margin_left = 156.0
margin_right = 282.0
margin_bottom = 12.0
custom_fonts/font = SubResource( 1 )
text = "4/6 (60%)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Restart" type="CenterContainer" parent="Menu"]
margin_top = 28.0
margin_right = 282.0
margin_bottom = 72.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="TextureButton" parent="Menu/Restart"]
margin_left = 49.0
margin_right = 233.0
margin_bottom = 44.0
texture_normal = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="text" type="Label" parent="Menu/Restart/Button"]
margin_left = -7.35894
margin_top = 17.705
margin_right = 194.641
margin_bottom = 35.705
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.12549, 0.156863, 0.239216, 1 )
text = "restart"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Menu" type="CenterContainer" parent="Menu"]
margin_top = 88.0
margin_right = 282.0
margin_bottom = 132.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="TextureButton" parent="Menu/Menu"]
margin_left = 49.0
margin_right = 233.0
margin_bottom = 44.0
texture_normal = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="text" type="Label" parent="Menu/Menu/Button"]
margin_left = -8.82848
margin_top = 16.5825
margin_right = 193.171
margin_bottom = 43.5825
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.12549, 0.156863, 0.239216, 1 )
text = "menu
"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="CenterContainer" parent="Menu"]
margin_top = 148.0
margin_right = 282.0
margin_bottom = 192.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="TextureButton" parent="Menu/Quit"]
margin_left = 49.0
margin_right = 233.0
margin_bottom = 44.0
texture_normal = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="text" type="Label" parent="Menu/Quit/Button"]
margin_left = -7.70605
margin_top = 17.705
margin_right = 194.294
margin_bottom = 44.705
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0.12549, 0.156863, 0.239216, 1 )
text = "quit
"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Tween" type="Tween" parent="Menu"]
[connection signal="button_up" from="Menu/Restart/Button" to="." method="_on_Restart_button_up"]
[connection signal="button_up" from="Menu/Menu/Button" to="." method="_on_Menu_button_up"]
[connection signal="button_up" from="Menu/Quit/Button" to="." method="_on_Quit_button_up"]