NVL dialogue beginning on the left side of the screen.

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
Silence in Space
Regular
Posts: 31
Joined: Tue Nov 22, 2016 4:48 pm
Projects: Silence in Space
Contact:

NVL dialogue beginning on the left side of the screen.

#1 Post by Silence in Space »

Is it possible to have dialogue for nvl-mode to display from the left side of the screen to the right side of the screen? I cannot seem to figure out what I need to do so that it does that.

User avatar
warmsundae
Regular
Posts: 61
Joined: Tue Feb 24, 2015 9:51 pm
Skype: electriclan
Soundcloud: lanterny
Location: korea
Contact:

Re: NVL dialogue beginning on the left side of the screen.

#2 Post by warmsundae »

are you talking about text alignment? try changing text_align to 1.0 (in screens.rpy, under the nvl_thought style.) that'll make it aligned to the right.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: NVL dialogue beginning on the left side of the screen.

#3 Post by PyTom »

Well, the question is - what would you do with the character's name. One way to do it would be to use a what_prefix that's displayed before the dialogue. If you don't give a name, it fills the NVL window, so something like this would work.

Code: Select all

define e = NVLCharacter(None, what_prefix="Eileen: ")
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