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.
Hello! Help me please. I need to make an animation using Function Statement https://www.renpy.org/doc/html/atl.html ... -statement.
I need a function to use renpy.random.randint for the coordinates and speed "lenear". So that each cycle has different coordinates (if this is possible).
But I can’t do it, I don’t understand how exactly it works, I’m new to Python.
I need animation like in this example, Movement in one direction and then back without breaking the image. Thank you for your attention!
UngarHansel wrote: ↑Fri Nov 17, 2023 11:04 pm
But I can’t do it, I don’t understand how exactly it works, I’m new to Python.
In my experience it's not really possible to do randomization using an ATL function. But you can use screens for that matter. Here is an example, you can figure out the zoom property yourself I guess.