-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHUD.tscn
36 lines (30 loc) · 863 Bytes
/
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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://HUD.gd" type="Script" id=1]
[ext_resource path="res://fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1]
size = 41
font_data = ExtResource( 2 )
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="Start" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -76.0
margin_top = -82.0
margin_right = 88.0
margin_bottom = -25.0
custom_fonts/font = SubResource( 1 )
text = "Start"
icon_align = 1
[node name="Score" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -512.0
margin_right = 512.0
margin_bottom = 51.0
custom_fonts/font = SubResource( 1 )
text = "0"
align = 1
[connection signal="pressed" from="Start" to="." method="_on_Start_pressed"]