-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHUD.tscn
80 lines (69 loc) · 2.04 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
[gd_scene load_steps=7 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=22]
size = 24
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=23]
size = 24
outline_color = Color( 0.0705882, 0.0627451, 0.0627451, 1 )
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=24]
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=25]
font_data = ExtResource( 1 )
[node name="HUD" type="Node2D"]
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
win_score = 10
GREEN = Color( 0.14902, 0.835294, 0.121569, 1 )
[node name="Player1Score" type="Label" parent="."]
margin_left = 45.0
margin_right = 79.0
margin_bottom = 33.0
custom_fonts/font = SubResource( 22 )
custom_colors/font_color = Color( 0.192157, 0.67451, 0.172549, 1 )
text = "00"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Player2Score" type="Label" parent="."]
margin_right = 37.0
margin_bottom = 30.0
custom_fonts/font = SubResource( 23 )
custom_colors/font_color = Color( 0.831373, 0.717647, 0.164706, 1 )
text = "00"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GameOver" type="Label" parent="."]
visible = false
margin_left = -25.8787
margin_top = 112.808
margin_right = 64.1213
margin_bottom = 132.808
rect_scale = Vector2( 1.5, 1.5 )
custom_fonts/font = SubResource( 24 )
custom_colors/font_color = Color( 0.768627, 0.215686, 0.772549, 1 )
text = "Game Over"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayerWins" type="Label" parent="."]
visible = false
margin_left = -29.791
margin_top = 45.6795
margin_right = 71.209
margin_bottom = 65.6795
rect_scale = Vector2( 1.5, 1.5 )
custom_fonts/font = SubResource( 25 )
custom_colors/font_color = Color( 0.0705882, 0.0666667, 0.0666667, 1 )
text = "Player Wins"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TimerSetup" type="Timer" parent="."]
wait_time = 3.263
[connection signal="timeout" from="TimerSetup" to="." method="_on_TimerSetup_timeout"]