End of lesson 5, Creating Title Screen
This commit is contained in:
parent
8d9aaf020c
commit
2163c32bdd
|
|
@ -38,10 +38,44 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 20
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 20
|
||||
theme_override_constants/margin_bottom = 20
|
||||
|
||||
[node name="Label" type="Label" parent="Content"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Content"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Content/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Legacy of the Ancient Questor"
|
||||
label_settings = SubResource("LabelSettings_w8uqo")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Spacer" type="MarginContainer" parent="Content/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Content/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Content/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Button Menu" type="VBoxContainer" parent="Content/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="New Game Button" type="Button" parent="Content/VBoxContainer/HBoxContainer/Button Menu"]
|
||||
layout_mode = 2
|
||||
text = "New Game"
|
||||
|
||||
[node name="Load Game Button" type="Button" parent="Content/VBoxContainer/HBoxContainer/Button Menu"]
|
||||
layout_mode = 2
|
||||
text = "Load Game"
|
||||
|
||||
[node name="Credits Button" type="Button" parent="Content/VBoxContainer/HBoxContainer/Button Menu"]
|
||||
layout_mode = 2
|
||||
text = "Credits"
|
||||
|
|
|
|||
Loading…
Reference in New Issue