Change Character name text position

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
MisterHarold
Regular
Posts: 51
Joined: Tue Jul 17, 2018 10:32 am
Location: Philippines
Contact:

Change Character name text position

#1 Post by MisterHarold »

Hello. I would like to ask how I will be able to change the position of the character's name. Because when I try to move it, the dialogue changes position as well and moves along with it. Any help would be appreciated.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Change Character name text position

#2 Post by Per K Grok »

MisterHarold wrote: Sat Feb 23, 2019 9:58 am Hello. I would like to ask how I will be able to change the position of the character's name. Because when I try to move it, the dialogue changes position as well and moves along with it. Any help would be appreciated.

Look in gui.rpy for this

## Dialogue ####################################################################

----

## The placement of the speaking character's name, relative to the textbox.
## These can be a whole number of pixels from the left or top, or 0.5 to center.
define gui.name_xpos = 120
define gui.name_ypos = 0

Post Reply

Who is online

Users browsing this forum: No registered users