forked from team-sg/hero-mark-2
global takeover of transition_speed variable
This commit is contained in:
parent
ddafe49d12
commit
bfbc0dfd2b
18 changed files with 42 additions and 42 deletions
|
@ -17,7 +17,7 @@ func _ready() -> void:
|
|||
yield(get_tree(), "idle_frame")
|
||||
print(_scoreboard_tag)
|
||||
$"%YesScore".grab_focus()
|
||||
Fade.fade_in(0.4)
|
||||
Fade.fade_in(Options.transition_speed_secs)
|
||||
|
||||
|
||||
func _on_YesScore_pressed() -> void:
|
||||
|
@ -58,7 +58,7 @@ func _on_NoTime_pressed() -> void:
|
|||
|
||||
func _next_screen() -> void:
|
||||
Game.clear_collectibles()
|
||||
Fade.fade_out(0.4)
|
||||
Fade.fade_out(Options.transition_speed_secs)
|
||||
yield(Fade, "fade_finished")
|
||||
SceneManager.change_scene(LevelSelect.instance())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue