Adding menu

This commit is contained in:
2024-09-01 16:19:47 +02:00
parent 510e96cde6
commit 67d7812205
3 changed files with 258 additions and 0 deletions

5
scripts/gui/menu.gd Normal file
View File

@@ -0,0 +1,5 @@
extends Control
func _input(event):
if event.is_action_pressed("plant"):
get_tree().change_scene_to_file("res://Game.tscn")