Code: Select all
init python:
def show_phone():
renpy.transition(moveinright)
renpy.show_screen("phone", _transient=True)
screen screen_ui():
textbutton "Show phone" Function(show_phone)
- First click do nothing
- Second click dissolve the phone screen and roll forward one dialogue
While the intended behavior is:
- First click slide the phone screen outside where it came from
- Second click and onward progress with the dialogue as usual
What change should I make to the function for it to behave as intended? Or am I approaching this in the wrong way?
Any feedback would be appreciated.
Also if it helps: The "phone" screen implemented is from Better EMR Phone.