breadwinner/scenes/ui/loading_screen.gd
Balogh Krisztián 3367698d10 (maybe) broken resource loader for the sounds
added a dloading screen, currently only used to load sounds in automatically (you can cahnge the sounds in the assets and it will work automatically since this autoload will load it in on game start ready)
2026-08-02 16:19:24 +02:00

21 lines
446 B
GDScript

extends CanvasLayer
func sound_loading():
show()
func sound_loading_done():
hide()
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
hide()
Sounds.loading_sounds.connect(sound_loading)
Sounds.loading_sounds_done.connect(sound_loading_done)
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass