Possible to make NVL text box smaller?

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
Scott

Possible to make NVL text box smaller?

#1 Post by Scott »

I'd like to make the NVL text box smaller so that the text box is smaller and centered on the screen, with the rest of the background image showing clearly around it. Is it possible to do this?

Cart
Newbie
Posts: 10
Joined: Thu Aug 16, 2007 3:24 pm
Contact:

Re: Possible to make NVL text box smaller?

#2 Post by Cart »

yes it is possible

just play around with "style.nvl_window.xmargin" and "style.nvl_window.ymargin" ^^

Scott

Re: Possible to make NVL text box smaller?

#3 Post by Scott »

I'd be under the impression that those only affected the margins around the text itself inside the NVL box without actually changing the size of the box itself -- is that incorrect?

Scott

Re: Possible to make NVL text box smaller?

#4 Post by Scott »

"been", rather... not "be". Sorry, still tired.

Scott

Re: Possible to make NVL text box smaller?

#5 Post by Scott »

Nevermind, I'm just really dumb and completely misread the documentation.

That having been said... is there a way to style the NVL window itself so that the NVL window has a border of some type?

User avatar
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: Possible to make NVL text box smaller?

#6 Post by PyTom »

Sure, you can set style.nvl_window.background to something other than a color.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users