In the vn I'm working on currently, I want the main menu navigational screen to be centered, but I still want the game menus (what pops up for preferences and everything else) to remain on the side. I tried the easy way and centered the navigation screen; it looked good on the menu, but it had also centered the game menu's navigational screen, because they use the same menu. This is just a little fan game I don't want to spend a ton of time on so I don't really want to redesign the entire menu for this one thing. Is there a way to separate the two menus so I can move them independent of each other yet have the same functionality?
Sorry if my question is dumb, this is my first project.
How to design the Main Menu and Game Menu separately
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.
-
- Newbie
- Posts: 2
- Joined: Sun Jul 29, 2018 12:12 pm
- Tumblr: twincentaurs
- Deviantart: twincentaurs
- Contact:
Re: How to design the Main Menu and Game Menu separately
The easy, if belabored way - duplicate the contents of the navigation screen inside main menu with a different style instead of using use navigation.
-
- Newbie
- Posts: 2
- Joined: Sun Jul 29, 2018 12:12 pm
- Tumblr: twincentaurs
- Deviantart: twincentaurs
- Contact:
Re: How to design the Main Menu and Game Menu separately
Haha, thank you, I ended up trying that about an hour after posting the question. Might not be the prettiest, but it works well.
- MaydohMaydoh
- Regular
- Posts: 165
- Joined: Mon Jul 09, 2018 5:49 am
- Projects: Fuwa Fuwa Panic
- Tumblr: maydohmaydoh
- Location: The Satellite of Love
- Contact:
Re: How to design the Main Menu and Game Menu separately
Just to add to this, another thing you could do is give the navigation screen a position depending on if the main menu screen is shown.
Something like:
Where your default position is to something like xalign 0.0. Aligned to the left.
Something like:
Code: Select all
screen navigation():
vbox:
if renpy.current_screen().screen_name[0] == "main_menu":
xalign 0.5
##etc