Hello. I have a unique text box for each character in game so I disabled this line in the Options:
# style.window.background = Frame("frame.png", 00, 00)
and defined each character with a different png image as their own text box, since the windows are partially different in colors.
Now I'd like to use the command "window show", but obviously it would only show the default window or the one I input in the style setting... my problem is that I want the windows to keep showing even during transitions as the "dissolve" one.
Is it possible to code a show/hide command for each text box? Or is there a way to keep showing custom windows during transitions?
I couldn't find this case in the cookbook, so I apologize if there was already a similar topic---
I hope that someone can help, thank you in advance
How to show specific windows during transitions?
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.
- pastelciel
- Regular
- Posts: 26
- Joined: Sun Nov 23, 2014 8:32 pm
- Projects: 【Pitch Black Serenade】
- Organization: 97Circle
- itch: 97circle
- Contact:
How to show specific windows during transitions?
---------------------------------------------------------------------------------
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
- 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: How to show specific windows during transitions?
https://www.renpy.org/doc/html/config.h ... pty_window
You can replace the config.empty_window callback to show the window you want - for example, something like:
You can replace the config.empty_window callback to show the window you want - for example, something like:
Code: Select all
default win = narrator
init python:
def empty_window():
win("", interact=False)
define config.empty_window = empty_window
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
- pastelciel
- Regular
- Posts: 26
- Joined: Sun Nov 23, 2014 8:32 pm
- Projects: 【Pitch Black Serenade】
- Organization: 97Circle
- itch: 97circle
- Contact:
Re: How to show specific windows during transitions?
Thank you! How can I make this code different for each character window? I managed to call only one window with this...
Sorry for the questions, I'm new at coding...
Sorry for the questions, I'm new at coding...
---------------------------------------------------------------------------------
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
- 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: How to show specific windows during transitions?
You'd have to change win each time the window changes.
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
- pastelciel
- Regular
- Posts: 26
- Joined: Sun Nov 23, 2014 8:32 pm
- Projects: 【Pitch Black Serenade】
- Organization: 97Circle
- itch: 97circle
- Contact:
Re: How to show specific windows during transitions?
Thank you for your patience, now I got it!
I'll try this one, thank you so much! : )
I'll try this one, thank you so much! : )
---------------------------------------------------------------------------------
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
【Pitch Black Serenade】 demo is out! ⇒ [itch.io]
Who is online
Users browsing this forum: No registered users