Added scene change to open up the game scene when pressing the start game button

This commit is contained in:
Willow Behar
2024-05-07 17:16:51 -05:00
parent f016e576ed
commit 61c5ce2be7

View File

@ -1,11 +1,7 @@
extends Window extends Node
var game = preload("res://Assets/game.tscn").instantiate()
# Called when the node enters the scene tree for the first time. func _on_main_menu_start_game():
func _ready(): self.remove_child($"Main Menu")
pass # Replace with function body. self.add_child(game)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass