[Question] Making Two Menus?
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.
- AceQueenKimu24
- Newbie
- Posts: 19
- Joined: Mon May 08, 2017 5:17 am
- Projects: Blooming Romance | Marionette
- Deviantart: 24WildHeart
- itch: 24_wildheart
- Contact:
[Question] Making Two Menus?
Hi there! I was wondering how one would go by to make two main menus (or the general GUI) styles and have them switched once a condition has been met. I was thinking of making two screens that could define as the main menu and just use the other once the tagged, however, I'm having trouble calling the second type as the primary main menu.
Is there perhaps a more efficient way of doing this?
Is there perhaps a more efficient way of doing this?
Re: [Question] Making Two Menus?
You can set the variable _game_menu_screen (notice the leading underscore) to another screen. That requires you to have two screens. I don't know if you can only change the style instead.
- AceQueenKimu24
- Newbie
- Posts: 19
- Joined: Mon May 08, 2017 5:17 am
- Projects: Blooming Romance | Marionette
- Deviantart: 24WildHeart
- itch: 24_wildheart
- Contact:
Re: [Question] Making Two Menus?
I think I get the gist of what _game_menu_screen does, but is it ok to ask for a sample code? I'm not exactly sure how it should be used ^^;
- AceQueenKimu24
- Newbie
- Posts: 19
- Joined: Mon May 08, 2017 5:17 am
- Projects: Blooming Romance | Marionette
- Deviantart: 24WildHeart
- itch: 24_wildheart
- Contact:
Re: [Question] Making Two Menus?
Oh, no. I was planning to make two types of interfaces for one device but after reaching a certain part of the story, the interface would then get an overhaul and be completely replaced, if that makes sense ^^;_ticlock_ wrote: ↑Tue Dec 29, 2020 9:31 pmHi, AceQueenKimu24,
Is it possible you are making Screen Variant
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: [Question] Making Two Menus?
Is perhaps this of any use?
viewtopic.php?f=52&t=56021&p=536988#p536988
(A small explanation on how its controlled here)
viewtopic.php?f=52&t=56021&p=536988#p528872
Basically, you create multiple styles or screens, and based on a variable, you change what is shown.
(Sorry I haven't got the time to separate out the relevant portions of code)
viewtopic.php?f=52&t=56021&p=536988#p536988
(A small explanation on how its controlled here)
viewtopic.php?f=52&t=56021&p=536988#p528872
Basically, you create multiple styles or screens, and based on a variable, you change what is shown.
(Sorry I haven't got the time to separate out the relevant portions of code)
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
Who is online
Users browsing this forum: Bing [Bot]
