-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI.tscn
190 lines (169 loc) · 4.04 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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
[gd_scene load_steps=13 format=2]
[ext_resource path="res://cane.png" type="Texture" id=1]
[ext_resource path="res://HealthBar.gd" type="Script" id=2]
[ext_resource path="res://billboards.png" type="Texture" id=3]
[ext_resource path="res://PressStart2P-Regular.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://GUI.gd" type="Script" id=5]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 64, 24 )
[sub_resource type="DynamicFont" id=2]
size = 64
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=3]
size = 32
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=4]
font_data = ExtResource( 4 )
[sub_resource type="AtlasTexture" id=5]
flags = 18
atlas = ExtResource( 3 )
region = Rect2( 16, 0, 16, 16 )
[sub_resource type="DynamicFont" id=6]
font_data = ExtResource( 4 )
[sub_resource type="AtlasTexture" id=7]
flags = 18
atlas = ExtResource( 3 )
region = Rect2( 80, 0, 16, 16 )
[node name="GUI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HealthBar" type="TextureRect" parent="."]
margin_left = 16.0
margin_top = 16.0
margin_right = 64.0
margin_bottom = 24.0
rect_scale = Vector2( 4, 4 )
texture = SubResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DeathScreen" type="Label" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
custom_fonts/font = SubResource( 2 )
text = "YOU DIED"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WinPrompt" type="Label" parent="."]
visible = false
anchor_top = 1.0
anchor_right = 1.001
anchor_bottom = 1.0
margin_left = 1.12247
margin_top = -167.878
margin_right = 0.0983887
margin_bottom = 1.12244
grow_horizontal = 2
grow_vertical = 2
custom_fonts/font = SubResource( 3 )
text = "PRESS E TO WIN"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WinPrompt2" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 32.0
margin_right = -32.0
grow_horizontal = 2
grow_vertical = 2
custom_fonts/font = SubResource( 4 )
text = "COLLECT PRESENTS!
CATS OPTIONAL"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PresentsIcon" type="TextureRect" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -64.0
margin_bottom = -64.0
rect_scale = Vector2( 4, 4 )
texture = SubResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PresentsCounter" type="Label" parent="PresentsIcon"]
margin_left = 20.0
margin_top = 5.0
margin_right = 100.0
margin_bottom = 21.0
rect_scale = Vector2( 0.5, 0.5 )
custom_fonts/font = SubResource( 6 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CatIcon" type="TextureRect" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 0.521393
margin_top = -128.0
margin_bottom = -128.0
rect_scale = Vector2( 4, 4 )
texture = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CatsCounter" type="Label" parent="CatIcon"]
margin_left = 20.0
margin_top = 6.485
margin_right = 100.0
margin_bottom = 22.485
rect_scale = Vector2( 0.5, 0.5 )
custom_fonts/font = SubResource( 6 )
text = "0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CrossHairW" type="ColorRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -5.5
margin_top = -0.5
margin_right = -1.5
margin_bottom = 0.5
[node name="CrossHairE" type="ColorRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = 1.5
margin_top = -0.5
margin_right = 5.5
margin_bottom = 0.5
[node name="CrossHairN" type="ColorRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -0.5
margin_top = -5.5
margin_right = 0.5
margin_bottom = -1.5
[node name="CrossHairS" type="ColorRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -0.5
margin_top = 1.5
margin_right = 0.5
margin_bottom = 5.5