How To Add Window For Centered Text?

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
Dollarluigi
Regular
Posts: 63
Joined: Mon Aug 15, 2016 10:06 pm
Completed: Winter Dream, School For The Friendless
Tumblr: Rehnchoro
Deviantart: Dollarluigi
Skype: Dollarluigi
Soundcloud: Dollarluigi
Location: Probably Earth
Contact:

How To Add Window For Centered Text?

#1 Post by Dollarluigi »

I've played a few visual novels where the text goes to the center of the screen at certain points but each time there's some kind of background/window behind the text and I was wondering how to do that because I can't seem to figure it out...
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.

YouTube Twitter Tumblr Reddit deviantArt

User avatar
PMscenarios
Regular
Posts: 93
Joined: Sat Jul 01, 2017 11:22 pm
Completed: Whale's Waldo
Projects: In Blood, Xenopathy
Tumblr: pmscenarios
itch: pmscenarios
Contact:

Re: How To Add Window For Centered Text?

#2 Post by PMscenarios »

Do you mean the NVL-mode?
Renpy has a default NVL-mode background (that can be changed - check the gui folder) that shows up whenever you have a character defined as a nvl-mode character talking - define j = Character("Julie", kind=nvl).
ImageImageImage

User avatar
Dollarluigi
Regular
Posts: 63
Joined: Mon Aug 15, 2016 10:06 pm
Completed: Winter Dream, School For The Friendless
Tumblr: Rehnchoro
Deviantart: Dollarluigi
Skype: Dollarluigi
Soundcloud: Dollarluigi
Location: Probably Earth
Contact:

Re: How To Add Window For Centered Text?

#3 Post by Dollarluigi »

Image

Something like this is what I mean.
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.

YouTube Twitter Tumblr Reddit deviantArt

User avatar
PMscenarios
Regular
Posts: 93
Joined: Sat Jul 01, 2017 11:22 pm
Completed: Whale's Waldo
Projects: In Blood, Xenopathy
Tumblr: pmscenarios
itch: pmscenarios
Contact:

Re: How To Add Window For Centered Text?

#4 Post by PMscenarios »

...Yes? I think you need to be more specific about what exactly you're asking about.

That looks to me like they're either using the nvl-mode with a custom nvl screen (overlay image) or a custom text box redefined to fill the screen.
Did you look at the default nvl-mode Ren'Py has?
ImageImageImage

User avatar
Dollarluigi
Regular
Posts: 63
Joined: Mon Aug 15, 2016 10:06 pm
Completed: Winter Dream, School For The Friendless
Tumblr: Rehnchoro
Deviantart: Dollarluigi
Skype: Dollarluigi
Soundcloud: Dollarluigi
Location: Probably Earth
Contact:

Re: How To Add Window For Centered Text?

#5 Post by Dollarluigi »

I'll have to take a look the next time I look at the program.
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.

YouTube Twitter Tumblr Reddit deviantArt

User avatar
Dollarluigi
Regular
Posts: 63
Joined: Mon Aug 15, 2016 10:06 pm
Completed: Winter Dream, School For The Friendless
Tumblr: Rehnchoro
Deviantart: Dollarluigi
Skype: Dollarluigi
Soundcloud: Dollarluigi
Location: Probably Earth
Contact:

Re: How To Add Window For Centered Text?

#6 Post by Dollarluigi »

Okay, I figured SOMETHING out and it works just fine for the style I was aiming for.
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.

YouTube Twitter Tumblr Reddit deviantArt

Post Reply

Who is online

Users browsing this forum: No registered users