Ren'Py Animation mouse click...

monkeyposter_7

Thirsty for my Guest
Game Developer
Nov 23, 2018
330
1,179
Okay, so... Here is the code:

Code:
    scene 1184 with dissolve
    pause(2.0)
    scene 1185 with dissolve
    pause(2.0)
    scene 1186 with dissolve
    pause(2.0)
    scene 1187 with dissolve
    pause(2.0)
    scene 1188 with dissolve
    mc "bla bla"
If i click the mouse on first image, it jump to last (from 1184 to 1188, skips all between)

Is it possible to make it that it jump to next image, instead of the one that doesnt have pause(2.0)?
But i also want to keep the "animation" if there is no mouse click[/code]
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
9,949
14,550
If i click the mouse on first image, it jump to last (from 1184 to 1188, skips all between)
I assume that it's a side effect of the code optimization. Like I guess that PyTom don't cared (with reason), since this kind of things should be done by using the (ATL) approach :

Code:
image myImg:
    "1184.png"
    pause 2.0
    "1185.png"
    pause 2.0
    "1186.png"
    pause 2.0
    "1187.png"
    pause 2.0
    "1188.png"
    pause 2.0

label start:

    scene myImg
    $ renpy.pause( 10, hard=True )
    me "bla bla"