Keep textbox during ImageDissolve transition
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.
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Keep textbox during ImageDissolve transition
Hello!
I am trying to find a way to keep textbox during an ImageDissolve transition.
I have a custom horizontal blinds image that I want to use with a quick ImageDIssolve transition during sprite change (like Never7) but so far couldn't find a way to prevent textbox from disappearing.
Is there a way to use a custom transition image while keeping textbox on screen?
I am trying to find a way to keep textbox during an ImageDissolve transition.
I have a custom horizontal blinds image that I want to use with a quick ImageDIssolve transition during sprite change (like Never7) but so far couldn't find a way to prevent textbox from disappearing.
Is there a way to use a custom transition image while keeping textbox on screen?
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
Using the "window show" command should do what you want iirc
"There are two types of lies: Lies that hurt, and lies that don't."
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Re: Keep textbox during ImageDissolve transition
Tried it now but it just does the transition while hiding textbox, fades the screen to black and back, brings back textbox and then continues as normal.
Here is my code:
Here is my code:
Code: Select all
"blablabla"
window show
show p3kao4 with blind
"blablabla"
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
It's very likely that's because of how your transition (blind) works. Iirc, each transition is different, and some can even hide the textbox, such as fade.
Test with dissolve to see if it works (either use dissolve or Dissolve(1) ).
Also check: https://www.renpy.org/doc/html/displayi ... how-window
Test with dissolve to see if it works (either use dissolve or Dissolve(1) ).
Also check: https://www.renpy.org/doc/html/displayi ... how-window
"There are two types of lies: Lies that hurt, and lies that don't."
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Re: Keep textbox during ImageDissolve transition
Tested with dissolve and now it hides the textbox, fades the screen to black and back, does the transition and after that shows the textbox.
I've also determined that it actually shows NVL window for a brief moment after fading to black and back and before showing textbox. I had a brief NVL scene before and if I delete nvl clear then it will show last text of NVL mode when I use window show.
I've also determined that it actually shows NVL window for a brief moment after fading to black and back and before showing textbox. I had a brief NVL scene before and if I delete nvl clear then it will show last text of NVL mode when I use window show.
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
Try opening Options.rpy and setting config.window to show. It's set to auto by default.
I don't really understand why your textbox is being hidden, it should not by now (I just tested the default blinds transition and it worked perfectly).
Code: Select all
define config.window = "show"
"There are two types of lies: Lies that hurt, and lies that don't."
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Re: Keep textbox during ImageDissolve transition
Nope, still the same.
My Ren'Py version is 7.3.5.606 btw if that can help.
My Ren'Py version is 7.3.5.606 btw if that can help.
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
Update your Ren'Py to the latest release. See if it helps. I didn't see anything around the changelogs but who knows.
Also, can you send me the project, or a new project replicating this bug, so I can see for myself?
Also, can you send me the project, or a new project replicating this bug, so I can see for myself?
"There are two types of lies: Lies that hurt, and lies that don't."
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Re: Keep textbox during ImageDissolve transition
Updated Ren'Py, still didn't fix it. Made a new project, tried it there and it worked.
Quickly cutted everything non-essential as far as I could from my project and made this one to show the bug.
https://drive.google.com/file/d/1_YMxag ... sp=sharing
Quickly cutted everything non-essential as far as I could from my project and made this one to show the bug.
https://drive.google.com/file/d/1_YMxag ... sp=sharing
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
As I thought, it was a unique thing of your project. Removing this line
from the script made the transition work.
If you don't mind me asking, why are you defining empty_window to nvl_show_core?
Code: Select all
config.empty_window = nvl_show_core
If you don't mind me asking, why are you defining empty_window to nvl_show_core?
"There are two types of lies: Lies that hurt, and lies that don't."
- SlayerGG
- Newbie
- Posts: 7
- Joined: Wed Aug 11, 2021 11:50 am
- Completed: The Delusion of Dream
- Organization: Snowflake Soft
- Discord: SlayerGG#6459
- Contact:
Re: Keep textbox during ImageDissolve transition
This worked, thank you! I should've posted my script file from the beginning.
In my original project I also had to set
or else it would continue fading to black and back.
In my original project I also had to set
Code: Select all
config.window_hide_transition = None
config.window_show_transition = None
Honestly, I can't remember now. I think me or other person in my team who is helping me with code were trying to implement something with it but forgot to delete it afterwards and then started to ignore it thinking that it should be there or something.If you don't mind me asking, why are you defining empty_window to nvl_show_core?
- Potato0095
- Regular
- Posts: 84
- Joined: Sun May 08, 2016 8:40 pm
- Projects: LoveCraft
- itch: potato95
- Location: Brazil
- Contact:
Re: Keep textbox during ImageDissolve transition
Oh, alright then, glad it worked out in the end!
"There are two types of lies: Lies that hurt, and lies that don't."
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot]