Add player movement
This commit is contained in:
parent
269b962fef
commit
3f97e18615
27 changed files with 631 additions and 1 deletions
35
scenes/main_menu.tscn
Normal file
35
scenes/main_menu.tscn
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[gd_scene format=3 uid="uid://bnmh1mebldx4l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b7inoxterktk3" path="res://scripts/MainMenu/MainMenuController.cs" id="1_l6cm7"]
|
||||
|
||||
[node name="MainMenu" type="Control" unique_id=1620629749]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_l6cm7")
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=601944177]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer" unique_id=180209254]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="StartGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=364461644]
|
||||
layout_mode = 2
|
||||
text = "Start Game"
|
||||
|
||||
[node name="ExitGameButton" type="Button" parent="CenterContainer/VBoxContainer" unique_id=1050417063]
|
||||
layout_mode = 2
|
||||
text = "Exit Game"
|
||||
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartGameButton" to="." method="OnStartGame"]
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitGameButton" to="." method="OnExitGame"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue