Name and Dialouge Spacing

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
Jadenday
Newbie
Posts: 23
Joined: Fri Apr 25, 2014 1:18 pm
Projects: Yandere wa do yu imi deka?!
Contact:

Name and Dialouge Spacing

#1 Post by Jadenday » Mon Jul 09, 2018 8:51 pm

I wanted to put more space between the in-game dialogue text and the name text. How do I do that? I tried using style.nvl_vbox.box_spacing = 500 but it doesn't work. I seem to find this answer anywhere.

User avatar
Per K Grok
Regular
Posts: 167
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls
Projects: Defenders of Adacan
Deviantart: pekj
itch: per-k-grok
Location: Sverige
Contact:

Re: Name and Dialouge Spacing

#2 Post by Per K Grok » Tue Jul 10, 2018 4:15 am

Jadenday wrote:
Mon Jul 09, 2018 8:51 pm
I wanted to put more space between the in-game dialogue text and the name text. How do I do that? I tried using style.nvl_vbox.box_spacing = 500 but it doesn't work. I seem to find this answer anywhere.

In gui.rpy under 'Dialogue' you have different variables for the "say window".

You have gui.name_xpos and gui.name_ypos to position the name text in the textbox, and
gui.dialogue_xpos and gui.dialogue_ypos to do the same for the dialogue text.

That should make it possible for you to position the name and dialogue in relation to each other as you want.
Image Visual Story Telling, DeviantArt Group for animations, comics, games and illustrations https://www.deviantart.com/acgi

Post Reply

Who is online

Users browsing this forum: Per K Grok