How to I change character's name 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
nanashine
Newbie
Posts: 14
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

How to I change character's name position?

#1 Post by nanashine » Wed Dec 06, 2017 2:30 pm

I wanted to place the name of the speaking character a little above from where it's normaly located.
Since I changed the texbox, I looks weird. I wanted to place it a little higher.
Thanks :)

User avatar
DragoonHP
Miko-Class Veteran
Posts: 696
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Re: How to I change character's name position?

#2 Post by DragoonHP » Wed Dec 06, 2017 2:39 pm

If you are using the latest Ren'Py, simply go to gui.rpy and change the value of gui.name_xpos and gui.name_ypos (Line 107 & Line 108)

nanashine
Newbie
Posts: 14
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Re: How to I change character's name position?

#3 Post by nanashine » Wed Dec 06, 2017 4:53 pm

Thank you so much DragoonHP! :)

nanashine
Newbie
Posts: 14
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Re: How to I change character's name position?

#4 Post by nanashine » Wed Dec 06, 2017 8:07 pm

And how do I change the position of those options "History", "Skip", "Save", etc. They are at the bottom of the screen and horizontal. I wanted to put them vertically and at the right corner.

User avatar
Remix
Veteran
Posts: 349
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet
Projects: An un-named 3d anime based trainer game
Contact:

Re: How to I change character's name position?

#5 Post by Remix » Thu Dec 07, 2017 6:46 am

Search for something relevant ( maybe "Q.Save" ) in screens.rpy...

It should find "screen quick_menu" ... alter that layout how you want.
(note there are a couple though, normal and 'touch' variants)

In gui.rpy, alter values relevant to the 'styles' pointed at in that part of screens.rpy
(especially note the 'style_prefix "quick" ' bit ... maybe search for 'quick' in gui.rpy ...)

nanashine
Newbie
Posts: 14
Joined: Thu Nov 30, 2017 1:44 pm
itch: renpytom
Contact:

Re: How to I change character's name position?

#6 Post by nanashine » Thu Dec 07, 2017 11:37 am

I found it! Thank you! :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot]