Custom Menu doesn't work

Hello, again.


I am trying to make a custom menu for my game: "Dreamscape"


However, the menu just disables the old menu and doesn't activate the custom one.


window1.PNGwindow2part1.PNGwindow2part2.PNG


If you could help me, that could be great. (Still not good at coding or doing complicated crap.)
you need to add the following command to your conditional branches for the menu display....


Control Variables: [001:MENU] += 1


put inside for when trigger down is pressed.


do you have all your images under those image names as a png or other compatible file ext?


lastly, you need to reassign the value of Temp to 1 or something somewhere, it feels like uselessness.


read through this thread: (edit) correction, this article - http://blog.rpgmakerweb.com/tutorials/pictures-common-events-world-map-item/
I did those things and still pressing B does nothing.
That is because B is both the activation and deactivation button for the menu. You basically activate and deactivate it within 1/60th of a second - especially if the variable 1 is outside the menu range, because your correction for that range will not happen while you press B.


Let's assume you have a plugin that uses variable 1 (there are several, 1 is the base number after all) and stores a number 10 into it.


Then this is what will happen:


1) you press B, menu is activated with variabl value 10.


2) first two conditional branches are skipped because you're still pressing :B and not up or down


3) show pictures will be skipped because menu is none of those values


4) Check for input trigger :B? since the B-Button is still pressed, menu will be disabled in first iteration.


There is no human who can release the B button fast enough to prevent the menu shutdown on first sequence, you have to use something else to disable the menu.


And even if that is not the case, the menu will never activate if variable 2 is 1 - have you checked that?
Okay, to come clean I was listening to a tutorial which is why the events are the way they are. I'm heavily still a noob and the tutorial did it correctly but I hosed up. 


And to answer your question, the tutorial kept it at 0.
Separate from your question, there's a commercial game already out with the name Dreamscape.  You might end up with some confusion because of that. 
Try adding a Wait command of 1 frame at the bottom of the first event page (where you check for B being pressed)


Does this affect anything?


Separately on the first page a conditional branch checks if the B button is pressed, on the second page a conditional branch checks if the B button is triggered. Any particular reason?


Top of second page you have Input.trigger? for checking for up and down button triggers. From a menu design perspective I prefer Input.repeat? as it imo makes the menu selection feel more responsive. I also typically prefer wrapping around. I.e. pressing down at the bottom makes it go to the top selection and vice-versa.


*hugs*
Here's the link to the tutorial: 
Anyway, thanks to the video I couldn't type anymore. 


He used the TEMP = 0 and the TEMP != 1 because it was a go around from the RPG Maker bugs.
So... did you try my suggestion. No noticeable difference?


If you upload a demo showcasing the issue I can take a look. Not just me, other devs here might also take a look.
The first thing I noticed right off the bat here, is that the video seems a little disorganized. The way I learned to event a menu was through this video because this way, you actually see how it's supposed to work before you start. He has the events done already, so all he's really doing is explaining what they do. I'd recommend you to try that. 
The menu still doesn't activate. Pressing B does absolutely nothing besides break the original menu itself
Did you make sure to disable the menu access in your autorun event?
Yes.
It's labeled Horror but whatever.


View attachment Horror.rar
Oh. I see what you did here. You're pressing B on your keyboard aren't you? B = Escape, so you have to press Escape to open your menu, not B.
Oh okay then! Thanks!
Side question: How do I make sub-windows?


(Like when you press enter on the menu, it opens a sub window.)
Nested Conditional Branches. Example:

Code:
if variable such and such == 0
  if input.trigger?(:C)
     switch somethingorother = true
    end
  end
@RightiswrongAndsoareyou, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Several times in this topic alone you doubleposted, please stop this.


If you want to add something and your own post is the last one, please edit the last post.

Original thread: https://forums.rpgmakerweb.com/threads/custom-menu-doesnt-work.68808/