I'm attempting to more-or-less disable skipping during a credits sequence in my game, but I'm having a hard time with making it all work properly. So far I've been using this code before the credits begin:
Code: Select all
$ _skipping = False
$ _dismiss_pause = False
This is doing a good job at preventing the player from starting skip mode during the credits or accidentally skipping them entirely with one click. However, it doesn't solve my main problem, which is when skipping is turned on when the credits begin. If skipping is toggled on when the credits start, the credits skip instantly despite the above code. As far as I can tell, the code I'm using only prevents a player from entering skip mode, it doesn't exit skip mode if it's already on.
Therefore, my main question is if there is a way to toggle the current skip mode from a python command, like "renpy.get_skipping" does for finding the current value. A side question would be if there is a better way to handle this. I don't necessarily want to lock players into the credits sequence, but I don't want someone holding down control to simply never see the credits, either.
Main Website
Includes information about and links to many of my current and past projects.
Major Game Projects
[
Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[
Team Despair] Corpse Party D2 series