initial commit
This commit is contained in:
35
Scenes/UI/main_menu.tscn
Normal file
35
Scenes/UI/main_menu.tscn
Normal file
@@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dq5ojxx2ytfwv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://2sxp2yxkv5k2" path="res://Assets/Scripts/UI/main_menu.gd" id="1_28flt"]
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_28flt")
|
||||
|
||||
[node name="BoxContainer" type="BoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -45.5
|
||||
offset_right = 45.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="BoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="NewGameButton" type="Button" parent="BoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 125
|
||||
text = "new Game"
|
||||
|
||||
[connection signal="pressed" from="BoxContainer/VBoxContainer/NewGameButton" to="." method="_on_new_game_button_pressed"]
|
||||
Reference in New Issue
Block a user