Code: Select all
init python: #Shoop in field image
def shoop_in(image):
renpy.sound.play("sfx/shoop_in.ogg")
renpy.show(image, at_list=[holdleft])
renpy.with_statement(dissolveleft)
def shoop_out(image):
renpy.sound.play("sfx/shoop_out.ogg")
renpy.hide(image)
renpy.with_statement(dissolveright)
Code: Select all
define dissolveright = ComposeTransition(dissolve, before=easeoutleft, after=easeinright)
define dissolveleft = ComposeTransition(dissolve, before=easeoutright, after=easeinleft)
However when having to show the image on a non-master layer, the transition doesn't work. Instead of properly transitioning, the image pops in as if the transition doesn't exist.
I made the following identical function with the only difference being put onlayer screens
Code: Select all
def shoop_in_pan(image):
renpy.sound.play("sfx/shoop_in.ogg")
renpy.show(image, at_list=[holdleft], layer='screens')
renpy.with_statement(dissolveleft)
I've had this issue with the ease transitions onlayer screens. But I can use dissolve transitions just fine onlayer screens.
Am I missing something? I appreciate any suggestions. Thank you.