forked from forerunnergames/energy-shot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI.tscn
127 lines (108 loc) · 3.94 KB
/
UI.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
[gd_scene load_steps=6 format=3 uid="uid://y2rvvh2dq5oc"]
[ext_resource type="PackedScene" uid="uid://b0dcb5suks4p0" path="res://HostGameDialog.tscn" id="1_vtns1"]
[ext_resource type="PackedScene" uid="uid://cx5lbfyyal0ax" path="res://JoinGameDialog.tscn" id="2_msxij"]
[ext_resource type="PackedScene" uid="uid://bmpjrf8pqokyu" path="res://ConfirmationDialog2.tscn" id="3_pp62o"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wockn"]
bg_color = Color(1, 0, 0, 0.321569)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 50
corner_radius_bottom_left = 50
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uacqx"]
bg_color = Color(0.756863, 0, 0, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0, 0, 0, 0)
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 50
corner_radius_bottom_left = 50
shadow_size = 10
[node name="UI" type="CanvasLayer"]
[node name="MainMenu" type="PanelContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MarginContainer" type="MarginContainer" parent="MainMenu"]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 200
[node name="Label" type="Label" parent="MainMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 200
text = "Energy Shot"
horizontal_alignment = 1
[node name="MarginContainer" type="MarginContainer" parent="MainMenu/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 1500
theme_override_constants/margin_right = 1500
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu/MarginContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 100
[node name="HostButton" type="Button" parent="MainMenu/MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Host"
[node name="JoinButton" type="Button" parent="MainMenu/MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Join"
[node name="Quit" type="Button" parent="MainMenu/MarginContainer/VBoxContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Quit"
[node name="HostGameDialog" parent="." instance=ExtResource("1_vtns1")]
visible = false
[node name="JoinGameDialog" parent="." instance=ExtResource("2_msxij")]
visible = false
[node name="HUD" type="Control" parent="."]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="HealthBar" type="ProgressBar" parent="HUD"]
layout_mode = 0
offset_right = 1281.0
offset_bottom = 106.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 20
theme_override_styles/background = SubResource("StyleBoxFlat_wockn")
theme_override_styles/fill = SubResource("StyleBoxFlat_uacqx")
max_value = 3.0
step = 1.0
value = 3.0
show_percentage = false
[node name="Score" type="Label" parent="HUD"]
layout_mode = 0
offset_left = 10.0
offset_top = 96.0
offset_right = 223.0
offset_bottom = 206.0
theme_override_font_sizes/font_size = 40
text = "Score: "
vertical_alignment = 1
[node name="QuitDialog" parent="." instance=ExtResource("3_pp62o")]
visible = false
offset_left = -608.0
offset_top = -632.0
offset_right = 592.0
offset_bottom = -32.0