Add player movement
This commit is contained in:
parent
269b962fef
commit
3f97e18615
27 changed files with 631 additions and 1 deletions
14
scripts/MainMenu/MainMenuController.cs
Normal file
14
scripts/MainMenu/MainMenuController.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Godot;
|
||||
|
||||
public partial class MainMenuController : Node
|
||||
{
|
||||
public void OnStartGame()
|
||||
{
|
||||
GetTree().ChangeSceneToFile("res://scenes/game.tscn");
|
||||
}
|
||||
|
||||
public void OnExitGame()
|
||||
{
|
||||
GetTree().Quit();
|
||||
}
|
||||
}
|
||||
1
scripts/MainMenu/MainMenuController.cs.uid
Normal file
1
scripts/MainMenu/MainMenuController.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://b7inoxterktk3
|
||||
Loading…
Add table
Add a link
Reference in a new issue