init: initial commit
This commit is contained in:
10
scripts/main_menu.gd
Normal file
10
scripts/main_menu.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
HUD.hide()
|
||||
|
||||
|
||||
func _on_start_button_pressed() -> void:
|
||||
HUD.show()
|
||||
get_tree().change_scene_to_file("res://scenes/game.tscn")
|
||||
Reference in New Issue
Block a user