End of chapter 6. A lot of problems took to much time to solve. It was good to know better Godot internal mechanism.

This commit is contained in:
2025-04-06 18:07:29 -03:00
parent 909c385dee
commit db55b2af02
21 changed files with 202 additions and 70 deletions

View File

@@ -1,11 +1,11 @@
extends Control
@export var loadingBar: TextureProgressBar
@export var loadingBar:TextureProgressBar
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
func _ready():
Loader.LOADING_PROGRESS_UPDATED.connect(_on_progress_updated)
func _on_progress_updated(percentage: float) -> void:
loadingBar.value = percentage
func _on_progress_updated(percentage):
loadingBar.value = percentage * 100