How to keep text box up while image dissolves???

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
Kei.Tan
Newbie
Posts: 3
Joined: Fri May 15, 2015 2:56 pm
Projects: Pure
Location: Canada
Contact:

How to keep text box up while image dissolves???

#1 Post by Kei.Tan »

I'm fairly new to using Ren'py, and scripting in general, so this maybe a stupid question with an easy answer but I've been scratching my head for the last few days over it.

So basically anytime an image goes through a transition the text box pops away. Is there away for the text box to remain up while the images do their thing?

User avatar
Alera
Miko-Class Veteran
Posts: 651
Joined: Sun Mar 21, 2010 3:20 am
Completed: Tortichki // Zayay // Hero's Spirit
Deviantart: psyalera
itch: psyalera
Location: UK
Contact:

Re: How to keep text box up while image dissolves???

#2 Post by Alera »

To avoid this, you might want to look into ATL and creating your own transitions. It can be as simple as this:

Code: Select all

transform myFade:
        alpha 0.0
        linear 0.5 alpha 1.0 
And then use it like this:

Code: Select all

show box at myFade
More on it here: http://www.renpy.org/doc/html/atl.html
Image
Games:
❤️ Zayay [Otome?][BxPlayer][NaNo 2013]
❤️ Tortichki [Drag&Drop mini game]

Other games I've worked on:
My Heart's Flame Emissary of Starlight Freedom From Silence Sickness
And many more unannounced/secret projects. (. .)

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: How to keep text box up while image dissolves???

#3 Post by trooper6 »

Actually, I think there is a simple configure variable that covers that. Let me see if I can find it.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: How to keep text box up while image dissolves???

#4 Post by trooper6 »

Yeah, I think all you have to do is add "window show" to your code right after the start label.

The documentation is here:
http://www.renpy.org/doc/html/dialogue. ... management
http://www.renpy.org/doc/html/displayin ... how-window

There is a thread talking about it here:
http://lemmasoft.renai.us/forums/viewto ... sappearing

But you can also do a search for "window show" and probably come up with many more threads discussing this.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Alera
Miko-Class Veteran
Posts: 651
Joined: Sun Mar 21, 2010 3:20 am
Completed: Tortichki // Zayay // Hero's Spirit
Deviantart: psyalera
itch: psyalera
Location: UK
Contact:

Re: How to keep text box up while image dissolves???

#5 Post by Alera »

I completely forgot about this solution! Thanks @trooper6 for the reminder! :)
Image
Games:
❤️ Zayay [Otome?][BxPlayer][NaNo 2013]
❤️ Tortichki [Drag&Drop mini game]

Other games I've worked on:
My Heart's Flame Emissary of Starlight Freedom From Silence Sickness
And many more unannounced/secret projects. (. .)

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: How to keep text box up while image dissolves???

#6 Post by trooper6 »

Alera wrote:I completely forgot about this solution! Thanks @trooper6 for the reminder! :)
Ren'py is just so rich and full of amazing things! It is easy to forget it all!
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Kei.Tan
Newbie
Posts: 3
Joined: Fri May 15, 2015 2:56 pm
Projects: Pure
Location: Canada
Contact:

Re: How to keep text box up while image dissolves???

#7 Post by Kei.Tan »

Oh wow thanks for the help!!! :D

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]