using renpy.random for timing in an animated image / animation random time
Posted: Mon Oct 02, 2017 8:10 am
hello!
i want to randomize the time between frames of an animated image, like this:
however, when i do this, it seems that the randomized pause time is only determined once, and that value is then always used when displaying the image. how can i achieve an effect where the time is randomized anew with each repetition of the animation?
i want to randomize the time between frames of an animated image, like this:
Code: Select all
image eileen blinking:
"eileen open eyes.png"
pause renpy.random.random()
"eileen closed eyes.png"
pause 0.2
repeat