fix: glitchy appearance of storyplayables
This commit is contained in:
parent
7fc85783cc
commit
3295c44ce9
|
|
@ -79,10 +79,10 @@ func _ready() -> void:
|
|||
# Clunky rebuild...
|
||||
story_array = story_array
|
||||
progress = progress
|
||||
if animation_player.has_animation("RESET"): animation_player.play("RESET")
|
||||
|
||||
if get_parent() is not CanvasLayer:
|
||||
push_warning("-------------- ", "DEBUG MODE ", self, " --------------")
|
||||
hide()
|
||||
await Main.curtain.open()
|
||||
await appear()
|
||||
await play()
|
||||
|
|
@ -130,9 +130,10 @@ func try_scroll():
|
|||
|
||||
func appear():
|
||||
hide()
|
||||
animation_player.play("RESET")
|
||||
await animation_player.animation_finished
|
||||
|
||||
if animation_player.has_animation("ini"):
|
||||
animation_player.play("ini")
|
||||
await animation_player.animation_finished
|
||||
|
||||
scroll_target = 0
|
||||
|
||||
# FIXME: find out why this needs to be set to prevent scenes from being fully revealed
|
||||
|
|
|
|||
Loading…
Reference in New Issue