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.
transform mm_randcloud:
function random_pos_x # positions cloud at random on x-axis
block:
yalign 0.5
linear 20.0 xalign -1.0
xalign 0.5
repeat
...
screen blah:
add "cloud1" at mm_randcloud
add "cloud2" at mm_randcloud
add "cloud3" at mm_randcloud
add "cloud4" at mm_randcloud
It's obviously waiting for the very last cloud to reach -1.0 before repeating itself, which creates a really weird image where the clouds are all there, and then the screen is completely void of clouds. Any help would be appreciated!
**Edit: I was derping kinda badly. Forgot that they ALL take the same amount of time to reach the same spot (xalign -1.0), thus resetting themselves all at the same time.