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,16 @@
extends Control
@export var loadingBar: TextureProgressBar
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
Loader.LOADING_PROGRESS_UPDATED.connect(_on_progress_updated)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_progress_updated(percentage: float) -> void:
loadingBar.value = percentage

View File

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