Problem with name position in History 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
Posts: 1
Joined: Sat Mar 30, 2019 10:10 am

Problem with name position in History screen

#1 Post by Dezu » Mon Nov 18, 2019 5:43 am

Hello. I started coding a game and even though there weren't any serious problems, I have one with a history screen.
So, I can't figure out how to change the name position because no matter what, it just crops the part of the name. It seems that history_name_xpos and history_name_width should be around the same number, but the name position that I need takes a negative number and it doesn't work with name width.
Can someone please explain what am I doing wrong?

Code: Select all

define gui.history_name_xpos = 0
define gui.history_name_ypos = -5
define gui.history_name_width = 12
define gui.history_name_xalign = 0.0

define gui.history_text_xpos = 268
define gui.history_text_ypos = 0
define gui.history_text_width = 1110
define gui.history_text_xalign = 0.0

User avatar
Miko-Class Veteran
Posts: 697
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao

Re: Problem with name position in History screen

#2 Post by isobellesophia » Mon Nov 18, 2019 6:40 am

You can align 0.5, 1.0, and 0.0. Can you also show the image?
I am a friendly user, please respect and have a good day..

Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564

Post Reply

Who is online

Users browsing this forum: Google [Bot], Newnewbie