I've finished the tutorial and searched online, but can only find out of date information on how exactly to implement timed choices and interactions.
I have a screen that shows an unskippable animation, and I have a character speak over the top of it.
Code: Select all
$ renpy.choice_for_skipping()
show screen unskippable_thing
with Dissolve(.5)
e "I am talking{w=1.8}{nw}"
e "While you watch{w=2.5}{nw}"
e "The unskippable{w=2.5}{nw}"
e "Thing{w=2.5}{nw}"
e "Click all you want{w=2.5}{nw}"
e "It's not over{w=2.5}{nw}"
e "Till it's over."
What I would like, is for a timer so that if the player clicks on the last line of dialogue before the animation has completed, the player is jumped back to the beginning of the dialogue again to click through once more, or into a seperate loop of new dialogues. Whichever is easier.
I'd also like to do it without having a custom timer constantly running in the background. This is a one time thing in the game, and I don't really want the game to possibly slow down because of it. I assume that with things like {w=2.5}, Dissolve(2.5) and pause 2.5 there must be an internal timer. Is there a way to only have an option available until after a certain amount of time has passed using that internal time alone?
Thank you very much for your help