started work on menus
This commit is contained in:
parent
6e16aead24
commit
51601d5ad1
9 changed files with 232 additions and 0 deletions
7
menus/title_screen.gd
Normal file
7
menus/title_screen.gd
Normal file
|
@ -0,0 +1,7 @@
|
|||
extends Node
|
||||
|
||||
export var next_menu: PackedScene
|
||||
|
||||
func _input(event):
|
||||
if (event is InputEventKey or event is InputEventJoypadButton) and event.pressed:
|
||||
SceneManager.current_scene = next_menu.instance()
|
Loading…
Add table
Add a link
Reference in a new issue