Alignment got messed up after I changed the background of my frame.

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
Exodus13
Newbie
Posts: 6
Joined: Fri May 13, 2022 9:47 am
Projects: Reanimated Heart
Organization: None
IRC Nick: Exodus
Github: Exodus13
Discord: Exodus#0013
Contact:

Alignment got messed up after I changed the background of my frame.

#1 Post by Exodus13 » Fri May 13, 2022 5:51 pm

Code: Select all

define gui.confirm_frame_borders = Borders(752, 233, 0, 20)
The standard quit prompt did not look good enough for me, so I made a new frame and added it. I changed the dimensions of the frame to account for the new change in frame. However, both the text (yes/no) and the image are now out of bounds. How would I fix this?

Any help at all is appreciated. Thank you.

Xiael
Regular
Posts: 31
Joined: Thu Aug 06, 2020 9:13 am
itch: Xiael
Discord: message me first here
Contact:

Re: Alignment got messed up after I changed the background of my frame.

#2 Post by Xiael » Sat May 14, 2022 7:33 am

I would guess that the other screens were also dependent on that "gui.confirm_frame_borders" variable. I suggest you could change the borders of your new frame bg through its corresponding styles clause and don't refer to that variable above
Anime sprite commissions $30 per character: viewtopic.php?f=62&t=60703&p=536689#p536689

Exodus13
Newbie
Posts: 6
Joined: Fri May 13, 2022 9:47 am
Projects: Reanimated Heart
Organization: None
IRC Nick: Exodus
Github: Exodus13
Discord: Exodus#0013
Contact:

Re: Alignment got messed up after I changed the background of my frame.

#3 Post by Exodus13 » Sun May 15, 2022 4:25 am

Gotcha. I fixed it. Thanks!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_