flashing dialogue window with sprite dissolve
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.
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.
flashing dialogue window with sprite dissolve
Hi,
I noticed that everytime I change a sprite (with dissolve) that the dialog window always disappears for a short moment and then reappears after the sprite is rendered. And I don't like this flashing of the window. Is there a way to keep dissolves (to better fade between two mimics) but also get rid of the flashing dialog window?
I noticed that everytime I change a sprite (with dissolve) that the dialog window always disappears for a short moment and then reappears after the sprite is rendered. And I don't like this flashing of the window. Is there a way to keep dissolves (to better fade between two mimics) but also get rid of the flashing dialog window?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: flashing dialogue window with sprite dissolve
Yes, use:
to keep the window shown, and
to hide it again.
Code: Select all
window show
Code: Select all
window hide
to hide it again.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- mugenjohncel
- Hentai Poofter
- Posts: 2121
- Joined: Sat Feb 04, 2006 11:13 pm
- Organization: Studio Mugenjohncel
- Location: Philippines
- Contact:
Re: flashing dialogue window with sprite dissolve
Hmm... this is very relevant to my needs...
I'm gonna do a follow-up
How and where do I write this and does it allow transition?... (You know... make dialogue windows dissapear with dissolve)
"POOF" (Disappears)
I'm gonna do a follow-up
How and where do I write this and does it allow transition?... (You know... make dialogue windows dissapear with dissolve)
"POOF" (Disappears)
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: flashing dialogue window with sprite dissolve
You can do:
and
There are also a pair of config variables that control it (I forget the names, offhand).
Code: Select all
window show dissolve
Code: Select all
window hide dissolve
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: flashing dialogue window with sprite dissolve
Works like a charm, thanks very much.
Do you know of a way how to add transitions to side images?
Do you know of a way how to add transitions to side images?
-
- Veteran
- Posts: 284
- Joined: Fri Dec 28, 2007 5:47 am
- Location: Where the Dragons rule!
- Contact:
Re: flashing dialogue window with sprite dissolve
What do you mean by "side images"?
Angels of paradise, angels of sacrifice
Please let me be under your wings...
Please let me be under your wings...
Re: flashing dialogue window with sprite dissolve
The little images inside the window, also called Avatars I think.EvilDragon wrote:What do you mean by "side images"?
Re: flashing dialogue window with sprite dissolve
PyTom, do you think you could look up the config variables? I'm not sure where you're supposed to put the code you posted, and it'd be cumbersome to use with every image anyway.
There was a section on showing and hiding the window in the cookbook, but I couldn't get the transitions to work right.
Thanks in advance!
There was a section on showing and hiding the window in the cookbook, but I couldn't get the transitions to work right.
Thanks in advance!
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: flashing dialogue window with sprite dissolve
They are config.window_show_transition and config.window_hide_transition.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: flashing dialogue window with sprite dissolve
Er, I got an error message saying that 'config.window_show_transition is not a known configuration variable.'
I'm using Renpy 6.8- is this a really new variable, or something?
I'm using Renpy 6.8- is this a really new variable, or something?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: flashing dialogue window with sprite dissolve
Yes, this was added in 6.9.1.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: flashing dialogue window with sprite dissolve
Ah. Off to go download, then...
Who is online
Users browsing this forum: Ahrefs [Bot]