Positioning the Title in the game menu?
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.
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.
- VideoGameVet
- Newbie
- Posts: 24
- Joined: Fri Jun 07, 2019 1:03 pm
- Skype: william_volk
- Contact:
Positioning the Title in the game menu?
Currently, my game title, at the start of the program, appears at the lower right in the game menu. Is there a config item to position it in a different location?
"A delayed game is eventually good, but a rushed game is forever bad."
- Shigeru Miyamoto
- Shigeru Miyamoto
- 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: Positioning the Title in the game menu?
In screens.rpy under 'screen main_menu():' look forVideoGameVet wrote: ↑Wed Jun 12, 2019 9:01 pm Currently, my game title, at the start of the program, appears at the lower right in the game menu. Is there a config item to position it in a different location?
Code: Select all
style main_menu_vbox:
xalign 1.0
xoffset -10
xmaximum 400
yalign 1.0
yoffset -10
- VideoGameVet
- Newbie
- Posts: 24
- Joined: Fri Jun 07, 2019 1:03 pm
- Skype: william_volk
- Contact:
Re: Positioning the Title in the game menu?
Thank you!Per K Grok wrote: ↑Thu Jun 13, 2019 12:29 amIn screens.rpy under 'screen main_menu():' look forVideoGameVet wrote: ↑Wed Jun 12, 2019 9:01 pm Currently, my game title, at the start of the program, appears at the lower right in the game menu. Is there a config item to position it in a different location?
Code: Select all
style main_menu_vbox: xalign 1.0 xoffset -10 xmaximum 400 yalign 1.0 yoffset -10
"A delayed game is eventually good, but a rushed game is forever bad."
- Shigeru Miyamoto
- Shigeru Miyamoto
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Positioning the Title in the game menu?
I would have thought the important bit would be under the main_menu screen:
Adjust the numbers to move the position. The numbers given approximate to the top right.
The part Per K Grok suggested is to align the text within the vbox, but it doesn't align the vbox iself.
Code: Select all
if gui.show_name:
vbox:
xalign 0.97
yalign 0.04
The part Per K Grok suggested is to align the text within the vbox, but it doesn't align the vbox iself.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: No registered users