-
Notifications
You must be signed in to change notification settings - Fork 1
/
hud.tscn
100 lines (91 loc) · 2.26 KB
/
hud.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
[gd_scene load_steps=3 format=3 uid="uid://jt80gv02u4f2"]
[ext_resource type="Script" path="res://scripts/hud.gd" id="1_8msyy"]
[ext_resource type="Texture2D" uid="uid://d3um1i1lgu153" path="res://assets/heart.png" id="2_yyptq"]
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_8msyy")
[node name="Start" type="Label" parent="."]
unique_name_in_owner = true
top_level = true
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -367.5
offset_top = -487.0
offset_right = 367.5
offset_bottom = 56.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 64
text = "Controls
Player One: Arrow Keys
Player Two: WASD
Press any key
to Start"
horizontal_alignment = 1
[node name="WinEnding" type="Label" parent="."]
unique_name_in_owner = true
visible = false
top_level = true
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -210.0
offset_top = -81.0
offset_right = 210.0
offset_bottom = 98.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 64
text = "You Win!"
horizontal_alignment = 1
[node name="LoseEnding" type="Label" parent="."]
unique_name_in_owner = true
visible = false
top_level = true
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -210.0
offset_top = -81.0
offset_right = 210.0
offset_bottom = 98.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 64
text = "You Lose!"
horizontal_alignment = 1
[node name="CollectedCoins" type="Label" parent="."]
unique_name_in_owner = true
offset_left = 64.0
offset_top = 126.0
offset_right = 306.0
offset_bottom = 214.0
theme_override_font_sizes/font_size = 64
text = "Coins: 0"
[node name="TimeLeft" type="Label" parent="."]
unique_name_in_owner = true
visible = false
offset_left = 64.0
offset_top = 40.0
offset_right = 306.0
offset_bottom = 128.0
theme_override_font_sizes/font_size = 64
text = "0"
[node name="Lives" type="TextureRect" parent="."]
unique_name_in_owner = true
offset_left = 60.0
offset_top = 220.0
offset_right = 124.0
offset_bottom = 284.0
texture = ExtResource("2_yyptq")
expand_mode = 1
stretch_mode = 1