but still need to add dropping items from the inventory still, but very close to it. this is just a backup save, ignore it
23 lines
509 B
GDScript
23 lines
509 B
GDScript
extends CanvasLayer
|
|
|
|
|
|
func sound_loading():
|
|
print("loading screen shown")
|
|
show()
|
|
|
|
func sound_loading_done():
|
|
print("loading screen hidden")
|
|
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
|