Hi! I'm very sorry if this is an obvious question but this is my first time coding a game and I have hit a wall trying to customize the game menu gui.
I've changed the position of the navigation menu from the left side to be on the right, but now the screen buttons for load/save, about, etc. are colliding with the navigation menu and I want to shift all of these screens to the left to balance everything out. How do I go about changing the position of the load, about, preferences, and the help screens?
How to change position of game menu screens (load, preferences, about, help)
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.
-
LyraCentauri
- Newbie
- Posts: 10
- Joined: Fri Mar 26, 2021 5:50 pm
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: How to change position of game menu screens (load, preferences, about, help)
In the game menu, adjust the frame position.
Sorry I can't help much better than this, I can't remember exactly which line and I'm currently not able to check at a pc.
Sorry I can't help much better than this, I can't remember exactly which line and I'm currently not able to check at a pc.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Re: How to change position of game menu screens (load, preferences, about, help)
in the file "screens" look for "screen navigation" or "screen main_menu" there you can place alignments and all that on each textbutton
-
LyraCentauri
- Newbie
- Posts: 10
- Joined: Fri Mar 26, 2021 5:50 pm
- Contact:
Re: How to change position of game menu screens (load, preferences, about, help)
Thanks guys for the advice! I was able to move the content screens with this code in the screens.rpy file under "game menu screen" (posting to help anyone else who needs a solution):
frame:
style "game_menu_content_frame"
#moved load menu
right_padding 500
xpos 100
frame:
style "game_menu_content_frame"
#moved load menu
right_padding 500
xpos 100
Who is online
Users browsing this forum: mold.FF