Is there a way to lock main menu options at the start and have them unlock through game progress?

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
47
Reaction score
3
First Language
English
Primarily Uses
VNM
I know the CG gallery has options to have images locked then unlock them through actions in game but I wanted to ask if there was a way to do something similar with menu buttons on the main screen.

Examples: The whole CG gallery locked until reaching a certain point, or having an "Extra mode" only available upon completion of the game.
 

Lostboy

Villager
Member
Joined
Aug 25, 2018
Messages
23
Reaction score
15
First Language
English
Primarily Uses
VNM
Sure, you could do that.
It could work if you use a hotspot button that displays under the condition that a persistent switch is toggled and have the switch enabled at a certain point in the game.
Not sure why but under image map hotspot conditions where you can bind to switch, it won't accept persistent variables, so if you are intending to use the default title screen, I think you might have to edit the image map files and erase the "Extra Mode" and replace it with the hotspot instead.
 

Kentou

Admin
Admin
Joined
Jan 20, 2014
Messages
248
Reaction score
62
@Lostboy: Thanks for letting us know about the issue. A workaround could be to just move the value from a persistent variable into a local variable at game start.

@wilsonthegreen So basically, if you make your title screen using Show Image Map command, you can bind the Enabled-State of an option to a Switch variable. If that variable is OFF, the option will be shown as disabled and can't be clicked.
 

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
47
Reaction score
3
First Language
English
Primarily Uses
VNM
@Kentou

I'm trying to test your suggestion but I'm a little confused. The bind enabled state prevents the choice from being opened but I don't see anything about a switch variable. Am I supposed to use the bind value option as well?

and I didnt think you could use hotspots alongside images maps @Lostboy i tried before and they didnt play well together
 

Attachments

  • faq test.png
    faq test.png
    498.2 KB · Views: 5
Last edited:

Lostboy

Villager
Member
Joined
Aug 25, 2018
Messages
23
Reaction score
15
First Language
English
Primarily Uses
VNM
What if you made two different image maps using conditioned commands.
Option 1: The image map without "FAQ", have it displayed if the switch for the FAQ isn't toggled.
Option 2: The image map with "FAQ", will be displayed instead if the switch is toggled (Use persistent variable when you first introduce your FAQ tutorial)

Example:
example.png
 
Last edited:

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
47
Reaction score
3
First Language
English
Primarily Uses
VNM
@Lostboy Could you do that with multiple different variables? Or only one that's "off" or "on"?

Example: If I wanted to have 2 different things locked at the start, would this still be possible? Since it'd need states for,

option 1: open, option 2: open
option 1: closed, option 2: open
option 1: closed, option 2: closed
option 1: open, option 2: closed
 

Lostboy

Villager
Member
Joined
Aug 25, 2018
Messages
23
Reaction score
15
First Language
English
Primarily Uses
VNM
I'm pretty sure it could work.
If you don't want to use switches you can use numbered variables.

Perhaps though, you could get your desired effect in this manner.
Example:
Ex1.png
Ex2.png

The problem here would be if #2 is locked and #3 is 'on', then there would be a gap where #2 should be...
However with some logic I think that could be easily solved.

Example 2:
Ex3.png
Theoretically this should work because you wouldn't need to worry about when #2 is 'on' and #3 is off since there would be no gap.
 
Last edited:

wilsonthegreen

Veteran
Veteran
Joined
Jan 3, 2019
Messages
47
Reaction score
3
First Language
English
Primarily Uses
VNM
I see, I tested it out and it seems to work out. Thanks a bunch @Lostboy
 

Latest Threads

Latest Posts

Latest Profile Posts

Anyone here is familiar with the US Law ? I'm working on a game idea at the moment and I have several questions on my mind :p
I just lost an hour plus of time to trying to modify the _battlefield sprite... when in reality MZ calls it _battleField ;_;

Even when debugging for the "undefined value", it looked exactly the same to my 20/60 eyesight.

I really prefer this_naming_convention rather than thisNamingConvention !!
hmm... I just solved one of the more annoying sideview battler problems in MV.. Passive States and Visual States can make it so when your character is in crisis HP, they don't go back to normal walk/wait when it's their turn. they stay in the crisis motion... neat.
Apparently all of LGBT reddit hates me. I posted a simple question and only got hate mail. What's the deal? The doompost was literally 6 months ago and I've changed my views since then and apologized.
MOD NOTE: See second response before replying to this. - Wavelength
Amazing. Simply amazing...

Forum statistics

Threads
109,107
Messages
1,042,130
Members
141,593
Latest member
Padouch
Top