[Solved] Delay between animations

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.
Post Reply
Message
Author
User avatar
Saa
Regular
Posts: 32
Joined: Tue Aug 20, 2013 7:11 pm
Tumblr: nipahgirl
Contact:

[Solved] Delay between animations

#1 Post by Saa »

Edit: Foud out the issue! The first "ypos 315" should have been inside the block.



Hi! I'm trying to make an animation that actually includes two different animations (it's a slot machine - first it needs to loop the rolling animation a few times, then it has to stop in one of the symbols). My problem is, for some reason there's a delay between two animations on the same image:
doc_2019-04-23_15-41-20.gif
doc_2019-04-23_15-41-20.gif (260.71 KiB) Viewed 225 times
Here's the code:

Code: Select all

image slota:
    "slota.png"
    xpos 212
    ypos 315
    block:
        linear 1.0 ypos 270
        repeat 3
    linear 0.5 ypos 300
    repeat
How do I get rid of that delay?

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot