Pause without skipping the animation(effect)

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
kkh829
Newbie
Posts: 1
Joined: Sun May 05, 2024 12:35 pm
Contact:

Pause without skipping the animation(effect)

#1 Post by kkh829 »

Hello, :D I'm a beginner RenPy developer.

I want to let the player watch the forest background slowly change to a black background, also can't skip it.
I used 'hard pause' to stop the player from skipping and this seems to work well, but still have got a little problem.

Even though I've used hard pause, I can still skip the dizolve3 effect. (dissolve3 is a three-second dissolve effect.)
So as soon as I click L button, background is instantly black.

I want to keep the player from skipping the dissolve3 effect for 3 seconds.

Below is my code.

Code: Select all

    scene bg_forest
    show model_1
    
    narrator "Shut down the system."

    scene bg_black with dissolve3
    hide model_1
    $ renpy.pause(delay = 3.0, hard=True)

Post Reply

Who is online

Users browsing this forum: No registered users