-
Notifications
You must be signed in to change notification settings - Fork 1
/
HUD.tscn
105 lines (93 loc) · 2.6 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
101
102
103
104
105
[gd_scene load_steps=6 format=2]
[ext_resource path="res://HUD.gd" type="Script" id=1]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.12549, 0.12549, 0.12549, 1 )
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
corner_detail = 11
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.65625, 0.0740967, 0.0128174, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.917969, 0.106891, 0.0215149, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
corner_detail = 10
shadow_color = Color( 1, 1, 1, 0.6 )
shadow_size = 2
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.498039, 0.0509804, 0.00392157, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
corner_detail = 10
shadow_color = Color( 1, 0.607843, 0, 0.6 )
shadow_size = 3
[node name="HUD" type="Panel"]
pause_mode = 1
anchor_left = 0.5
anchor_right = 0.5
margin_left = -498.947
margin_right = 501.053
margin_bottom = 50.0
custom_styles/panel = SubResource( 1 )
script = ExtResource( 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
[node name="Level" type="Label" parent="HBoxContainer"]
margin_right = 192.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Level : 1"
align = 1
valign = 1
[node name="Time" type="Label" parent="HBoxContainer"]
margin_left = 196.0
margin_right = 388.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Sisa waktu : 180 detik"
align = 1
valign = 1
[node name="Life" type="Label" parent="HBoxContainer"]
margin_left = 392.0
margin_right = 584.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Hidup : 0"
align = 1
valign = 1
[node name="Death" type="Label" parent="HBoxContainer"]
margin_left = 588.0
margin_right = 780.0
margin_bottom = 30.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Mati : 0"
align = 1
valign = 1
[node name="Pause" type="Button" parent="HBoxContainer"]
pause_mode = 1
margin_left = 784.0
margin_right = 980.0
margin_bottom = 30.0
size_flags_horizontal = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/normal = SubResource( 2 )
text = "Pause"
[connection signal="pressed" from="HBoxContainer/Pause" to="." method="_on_Pause_pressed"]