-
Notifications
You must be signed in to change notification settings - Fork 1
/
HUD.tscn
52 lines (44 loc) · 1.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://fonts/xolonium-regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://HUD.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 50
font_data = ExtResource( 1 )
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 2 )
[node name="ScoreLabel" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -230.0
margin_right = 235.0
margin_bottom = 61.0
custom_fonts/font = SubResource( 1 )
text = "00000"
align = 1
[node name="MessageLabel" type="Label" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -238.0
margin_top = -86.0
margin_right = 238.0
margin_bottom = 39.0
custom_fonts/font = SubResource( 1 )
text = "Dodge the Creeps"
align = 1
autowrap = true
[node name="Button" type="Button" parent="."]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 118.0
margin_top = 76.0
margin_right = 338.0
margin_bottom = 143.0
custom_fonts/font = SubResource( 1 )
text = "start"
[node name="MessageTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"]