End of Chapter 3. Loading scene and new game button working!

This commit is contained in:
2025-04-05 13:32:57 -03:00
parent 3f7a3cf979
commit e882e0e5fd
10 changed files with 110 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_new_game_button_pressed() -> void:
Loader.loadScene(self, "res://scenes/game.tscn")

View File

@@ -0,0 +1 @@
uid://bklj1ua1qok02