Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
As you can see, it slides inside the screen. I like this because it does it in a very fluid movement.
I was wondering if there's a way to make that same image slide off-screen after a certain period of time. I was experimenting with "timer" but couldn't figure it out.
[code]
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/notification.rpy", line 14: expected 'name' not found.
screen notif(image, delay=2):
^
File "game/notification.rpy", line 19: expected statement.
timer delay action SetScreenVariable("hide", True)
^