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
|
@ -25,7 +25,7 @@ func _ready() -> void:
|
|||
yield(get_tree(), "idle_frame")
|
||||
self.add_child(text_3d)
|
||||
text_3d.animation_player.set_speed_scale(0)
|
||||
Fade.fade_in(0.4)
|
||||
Fade.fade_in(Options.transition_speed_secs)
|
||||
# fill in shard names
|
||||
var level: LevelEntry = LevelData.levels[Game.current_level]
|
||||
for i in 5:
|
||||
|
@ -51,7 +51,7 @@ func final_score():
|
|||
|
||||
|
||||
func _on_AnimationPlayer_animation_finished(anim_name):
|
||||
Fade.fade_out(0.4)
|
||||
Fade.fade_out(Options.transition_speed_secs)
|
||||
yield(Fade, "fade_finished")
|
||||
if Debug.is_cheating == false:
|
||||
SceneManager.change_scene(SubmitScore.instance())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue