-
Notifications
You must be signed in to change notification settings - Fork 0
/
HUD.tscn
152 lines (136 loc) · 3.73 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Scripts/HUD.gd" type="Script" id=1]
[ext_resource path="res://OperaLyricsSmooth-OOJo.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Sprites/menu_icon.png" type="Texture" id=3]
[ext_resource path="res://Sprites/hud_ribbon_2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/lobby_button_3.png" type="Texture" id=5]
[sub_resource type="DynamicFont" id=1]
size = 32
outline_size = 1
extra_spacing_char = 1
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
size = 32
extra_spacing_char = 1
font_data = ExtResource( 2 )
[node name="HUD" type="CanvasLayer"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 512.002, 33.8529 )
scale = Vector2( 0.409511, 0.352132 )
texture = ExtResource( 4 )
[node name="Shared" type="Control" parent="."]
margin_top = 6.0
margin_right = 40.0
margin_bottom = 46.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="OurLabel" type="Label" parent="Shared"]
margin_left = 71.322
margin_top = 10.5115
margin_right = 178.322
margin_bottom = 49.5115
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_outline_modulate = Color( 1, 1, 1, 1 )
text = "None"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Turn" type="Control" parent="."]
margin_left = -1.0
margin_top = 6.0
margin_right = 39.0
margin_bottom = 46.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SkipButton" type="TextureButton" parent="Turn"]
margin_left = 365.0
margin_top = 10.0
margin_right = 494.0
margin_bottom = 46.0
texture_normal = ExtResource( 5 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Turn/SkipButton"]
margin_left = 18.2718
margin_top = 7.95936
margin_right = 113.272
margin_bottom = 29.9593
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Skip turn"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TurnLabel" type="Label" parent="Turn"]
margin_left = 503.703
margin_top = 10.7406
margin_right = 629.705
margin_bottom = 49.7406
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_outline_modulate = Color( 1, 1, 1, 1 )
text = "None"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MoveLabel" type="Label" parent="Turn"]
margin_left = 587.002
margin_top = 11.6364
margin_right = 665.999
margin_bottom = 50.6364
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_outline_modulate = Color( 1, 1, 1, 1 )
text = "0"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TimeLabel" type="Label" parent="Turn"]
margin_left = 673.945
margin_top = 9.55987
margin_right = 820.945
margin_bottom = 48.5599
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Time:"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TimerLabel" type="Label" parent="Turn"]
margin_left = 809.535
margin_top = 11.6368
margin_right = 866.533
margin_bottom = 50.6368
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "0"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MenuButton" type="TextureButton" parent="."]
margin_left = 894.267
margin_top = 14.3394
margin_right = 978.27
margin_bottom = 58.3394
size_flags_horizontal = 5
texture_normal = ExtResource( 3 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Turn/SkipButton" to="." method="skip_turn"]
[connection signal="pressed" from="MenuButton" to="." method="toggle_main_menu"]