New code for main_menu

level thing coming up next as the
code of this thing has that in mind

cheers :)
main
tihgs 2025-06-19 16:09:36 +08:00
parent 117c2b0c54
commit 06c26e43ce
Signed by: tihgs
GPG Key ID: 4E80959CDE5EDCA0
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
extends Node2D
onready var popup = $WindowDialog
# Declare member variables here. Examples:
# var a = 2
@ -25,3 +26,10 @@ func _on_Start_pressed():
func _on_Back_pressed():
get_tree().change_scene("res://main_menu.tscn")
func _on_Nope_pressed():
popup.hide()
func _on_Popup_pressed():
popup.show()