-
Notifications
You must be signed in to change notification settings - Fork 0
/
HUD.tscn
78 lines (66 loc) · 1.87 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
[gd_scene load_steps=9 format=2]
[ext_resource path="res://HUD.gd" type="Script" id=1]
[ext_resource path="res://fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://art/logo.png" type="Texture" id=3]
[sub_resource type="DynamicFont" id=1]
size = 64
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
size = 64
font_data = ExtResource( 2 )
[sub_resource type="InputEventAction" id=3]
action = "ui_select"
[sub_resource type="ShortCut" id=4]
shortcut = SubResource( 3 )
[sub_resource type="DynamicFont" id=5]
size = 36
font_data = ExtResource( 2 )
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="MessageLabel" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -400.0
margin_top = 100.0
margin_right = 400.0
margin_bottom = 159.0
custom_fonts/font = SubResource( 1 )
text = "For Honey"
align = 1
valign = 1
[node name="StartButton" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -90.0
margin_top = -150.0
margin_right = 90.0
margin_bottom = -50.0
custom_fonts/font = SubResource( 2 )
shortcut = SubResource( 4 )
text = "Play"
[node name="Logo" type="Sprite" parent="."]
position = Vector2( 579.492, 414.975 )
scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 3 )
[node name="TimeLabel" type="Label" parent="."]
visible = false
margin_left = 20.0
margin_right = 319.0
margin_bottom = 45.0
rect_pivot_offset = Vector2( 87, 150 )
custom_fonts/font = SubResource( 5 )
text = "Seconds Left: 30"
valign = 1
[node name="ScoreLabel" type="Label" parent="."]
visible = false
anchor_left = 1.0
anchor_right = 1.0
margin_left = -206.0
margin_bottom = 45.0
rect_pivot_offset = Vector2( 87, 150 )
custom_fonts/font = SubResource( 5 )
text = "Score: 0"
valign = 1
[connection signal="pressed" from="StartButton" to="." method="_on_StartButton_pressed"]