Possible bug with auto-advance and text wait tags?

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
AVNSnax
Regular
Posts: 79
Joined: Sun Feb 06, 2022 12:11 am
itch: avnsnax
Contact:

Possible bug with auto-advance and text wait tags?

#1 Post by AVNSnax »

(Ren'Py 8.0.2) I have an ATL background that executes over 6 seconds, zooming in on a portion of the image. I am trying to display a sequence of dialog text while the zoom is happening. It works fine in normal mode, but when you turn on auto-advance the waits disappear. For example:

Code: Select all

python:
    waitLength = 3.0 # waitLength = 100.0
    strToSay = "This . . . {{w={}}}is how . . . {{w={}}}it works!".format(waitLength, waitLength)
    renpy.say(character.s, strToSay)
It doesn't matter what waitLength is; it could be 3 seconds or 100; the wait is over as soon as Ren'Py calculates how long it would take to read the preceding text, which in this case is fairly short. I was trying to get the dialog to stretch until the background zoom had completed. I would expect it to operate like this:

This . . . (wait for 3 seconds)is how . . . (wait for 3 seconds)it works!

I'm not savvy enough with the system yet to code a workaround. Does anyone have any suggestions, please?

Post Reply

Who is online

Users browsing this forum: Alex, Bing [Bot], Majestic-12 [Bot]