New code for main_menu
level thing coming up next as the code of this thing has that in mind cheers :)main
parent
117c2b0c54
commit
06c26e43ce
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue