'MultiBox' has no attribute 'delay'

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
Karrion
Regular
Posts: 73
Joined: Fri Jan 18, 2019 8:33 pm
Projects: Murder on the Marine Express
Organization: 1564 Studio
itch: 1564-studio
Contact:

'MultiBox' has no attribute 'delay'

#1 Post by Karrion »

So, our game finally released and got our first public bug, yay!

A friend who bought the game has had a problem where the game crashes on a certain part of the game, the crash report states the following:

https://i.imgur.com/xhQEgj6.png

On the line that causes the crash it says:

Code: Select all

show ranko surpriseFlip at newleft with flash
Flash is a custom transition that has been used previously and caused no issues on other instances, it works like this:

Code: Select all

define flash_transition = Fade(0.1, 0.0, 0.0, color="#fff")
    init python:
        def flash(old_widget=None, new_widget=None):
            if persistent.allowFlash:
                return flash_transition(old_widget=old_widget, new_widget=new_widget)
            else:
                return new_widget
We've added a clause in the settings menu to deactivate it for any photosensitive players. Anyone knows what may be causing the crash?
1564 Studio, an indie studio dedicated to developing mystery VNs!
Follow us on Twitter for updates on our projects!

Image

Check out our current project, just released on PC, Android, Switch, XBox ONE/Series S/X and PS4/5!
Also available in Spanish, English, French and Japanese!

Image

User avatar
Alex
Lemma-Class Veteran
Posts: 3090
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: 'MultiBox' has no attribute 'delay'

#2 Post by Alex »

Karrion wrote: Fri Jul 30, 2021 1:16 pm ...We've added a clause in the settings menu to deactivate it for any photosensitive players. ...
Try

Code: Select all

define flash_transition = Fade(0.1, 0.0, 0.0, color="#fff")
    init python:
        def flash(old_widget=None, new_widget=None):
            if persistent.allowFlash:
                return flash_transition(old_widget=old_widget, new_widget=new_widget)
            else:
                return Dissolve(old_widget=old_widget, new_widget=new_widget, time=0.0)
https://www.renpy.org/doc/html/trans_tr ... ransitions

Post Reply

Who is online

Users browsing this forum: Google [Bot]