sfx update
This commit is contained in:
parent
bf16dfe508
commit
cd361e3338
16 changed files with 682 additions and 105 deletions
|
@ -10,9 +10,7 @@ func _ready():
|
|||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
var porgres = []
|
||||
var progress = ResourceLoader.load_threaded_get_status(MAIN_SCENE_PATH, porgres)
|
||||
$Layout/Play.text = "Play (%d%%)" % [clampf(remap(porgres[0], 0.46, 0.5, 0, 100), 0, 100)]
|
||||
var progress = ResourceLoader.load_threaded_get_status(MAIN_SCENE_PATH)
|
||||
if progress == ResourceLoader.THREAD_LOAD_LOADED:
|
||||
$Layout/Play.disabled = false
|
||||
$Layout/Play.text = "Play"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue