[Unsolved] Preserving window show/hide with pause?

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
auger
Newbie
Posts: 9
Joined: Tue Oct 16, 2018 2:48 am
Projects: Unnamed CYA Project
Contact:

[Unsolved] Preserving window show/hide with pause?

#1 Post by auger »

All righty, I think I've got another one for you all.

So earlier, I tried to combine nvl clear & window transitions. This turned out to be mostly unnecessary due to how the new autoshow/hide formula works. Thanks a billion for that, Py'Tom. :mrgreen: Even though that works great - with a few tweaks here and there for specific scenes - I've got a similar question.

Let's say I want to have my novel mode text transition(dissolve) whenever I go from a nvl speaker to a say speaker, or vice versa.
Similarly, whenever I use $ renpy.pause OR a pre-defined pause command, let's say 'nvlpause', I want to keep the window on-screen.
I know these should both be possible; here's what I figure I'm doing wrong.

Code: Select all

mercnvl "Then again, at least I wouldn't feel all the bruises! Haha!"
nvl clear
$ renpy.pause(1.5) #this is where it just instantly eliminates the nvl window with no dissolve/transition
#I've tried including 'pause' in config.window_auto_hide but I don't think that's it.
mercnvl "Not yet. I've still got a long way to climb, and if I give up now I'll be breaking my promise."
#The above text instantly transitions back to the nvl block.
As to keeping nvl window visible, I imagine I have to have:

Code: Select all

Preference("show empty window", "show")
but define a transition that includes both show/hide window and pause as functions.
What do you think, is that the right track or can I make it simpler?
Life is short; be kind.

Post Reply

Who is online

Users browsing this forum: Google [Bot]