Is there an alternative to MultipleTransition?

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
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

Is there an alternative to MultipleTransition?

#1 Post by Gumaster »

I've been having a problem (for some time now) with the following code:

Code: Select all

init:
    $ thinblind = ImageDissolve ("blinds.png", 0.5)
    $ blindfade = MultipleTransition([False, thinblind, "black.jpg", thinblind, True])
...........
    scene bg uni
    $ renpy.transition(blindfade)
    $ renpy.pause(1.0, hard=True)
The transition plays fine but then there's a huge delay before the textbox reappears (pressing a key, mousebutton or moving the mouse will cause the textbox to reappear as well). The problem seems to only occur when I use $ renpy.transition with a multipletransition and $ renpy.pause. I tried looking around in transitions.py, but it's probably easier to just avoid the problem.

Is there an alternative way to implement the above transition as a single transition(old bg->black->new bg) or is the only way to go through my script and change it to two separate thinblind transitions each time?

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Is there an alternative to MultipleTransition?

#2 Post by Aleema »

I agree, I get the same bug as well and it's really bothersome that I'm about to just not use it at all. =\

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Is there an alternative to MultipleTransition?

#3 Post by PyTom »

A fix for this will be in 6.12.2, when it comes out in a few days.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users