Picture-Based Menu

Earlier I asked for help with finding out how to make my own pop-up menu when you press ESC (I don't want my character's image to show up)

I found a tutorial on the official website on how to make a Picture-Based Menu But it hasn't helped much because after coding it in step by step it doesn't seem to have worked. Can someone please help me?
You're going to have to share screen shots of your event(s) so we can look at where it went wrong.

What's not working? What is it supposed to do that it isn't?
You're going to have to share screen shots of your event(s) so we can look at where it went wrong.

What's not working? What is it supposed to do that it isn't?
It's supposed to have my own custom menu screen but instead it's the default
Here are some screenshots of my process (In order)
1715207504979.png

1715207530453.png

1715207546048.png

1715207576549.png
I'm horrible at explaining this: Your loop is setup incorrectly, erase pictures and break loop are supposed to be under the second nested if 'cancel' is pressed, which you don't have. Right now the loop starts, gets to the end, erases the pictures and breaks loop with out additional input from player making it pointless. Take a closer look at the last screenshot in the tutorial that gives the entire event. The break loop and erase pictures should be inside another conditional checking if cancel is pressed.
Just be aware, Page 2 of your Event is set to autorun without any Event Commands. So everything is going to freeze there. An autorun Event keeps running until you stop it. That will create a problem that is separate from your Common Event.
I'm horrible at explaining this: Your loop is setup incorrectly, erase pictures and break loop are supposed to be under the second nested if 'cancel' is pressed, which you don't have. Right now the loop starts, gets to the end, erases the pictures and breaks loop with out additional input from player making it pointless. Take a closer look at the last screenshot in the tutorial that gives the entire event. The break loop and erase pictures should be inside another conditional checking if cancel is pressed.
I've made the edit, but the base menu continues to pop up. could it be that the "disable menu" isn't working?

Just be aware, Page 2 of your Event is set to autorun without any Event Commands. So everything is going to freeze there. An autorun Event keeps running until you stop it. That will create a problem that is separate from your Common Event.
I fixed this, thank you!
Good catch @ZombieKidzRule
Is it working now?
If not, post some updated screen shoots and we can go from there.
Good catch @ZombieKidzRule
Is it working now?
If not, post some updated screen shoots and we can go from there.
So sorry, I've been really busy.

I haven't gotten it to work, no. Here's some screenshots
1718010804769.png

1718010829126.png

1718010845348.png
you have page index 2 is lower than 4 instead of 0, but using the same size
isn't really useful as yo can use smaller buttons.

I made an eventing menu as well, but a bit different than this one, but the
same thing can be applied.
So sorry, I've been really busy.

I haven't gotten it to work, no. Here's some screenshotsView attachment 308067
View attachment 308068
View attachment 308069
okay so i messed around a bit and i fixed where it wouldn't show up but I've ran into a new problem, the icons aren't being selected! I'm so confused... It's stuck on the last selected image (Code is the same)👋
1718012078609.png


you have page index 2 is lower than 4 instead of 0, but using the same size
isn't really useful as yo can use smaller buttons.

I made an eventing menu as well, but a bit different than this one, but the
same thing can be applied.
I'm confused, what do you mean by this? The images I made aren't individual
I mean, picture 1, 2 ,3 ,4 has the same position, means, you use 4 equal size
images (big sizes) which can be 4 smaller images to save in save, so also different
place.

2nd, you index to go down is +1 to 4, but < 0 = 4 and > 4 = 2 which should be 0.
A few things to consider:
  • Post full screenshots of your Events so information about how the Event is being triggered and if it is a Map Event or Common Event would be helpful.
  • According to your current screenshot, all 4 of your menu option Show Pictures have the exact same X & Y coordinates. That means they should be showing on top of each other. Not sure how you got the screenshot of the Menu options with the Event you posted.
  • Why do you have a Random 1...1 for a Variable? That can just be a Constant value of 1.
  • Your freeze player Set Movement Route doesn't need to be in the Loop. You can freeze the player at the start of the Event, outside the Loop, and then just remember to unfreeze the player again, after the Loop is broken.
  • You might want to experiment with Is Being Pressed and Is Being Triggered. I know I had to do that and I can't remember the difference in operation.
  • It was already pointed out about your logic for moving menu options from 4 to 2 instead of 4 to 0.
  • Check your nested Conditional Branches to make sure they are in the proper place.
  • You don't need 4 separate If Button OK is being triggered. You can have that just once and then put all 4 If Selected Button = # options under that 1 Conditional Branch.
  • You have a problem with your logic of If Selected Button = 0 and If Selected Button = 4. The way you have it set up now if the Variable = 0, it will change the Variable to 4. Then it immediately checks if the Variable = 4 (which will be true) and then it will change the Variable to 2.
  • I have also found that the Wait command amount can have an impact on Events like this.
I hope this helps.
UPDATE!!!

THANK YOU ALL SO MUCH FOR YOUR HELP!!!
​

I know it took me a while to get back to this post but all of your help turned to workout for me and i finally got the damn thing to work properly!!! 😅

I appreciate the patience and effort, I'm very new to coding and such but I'm willing to learn, and all of your help and advice really did it for me! 😢

I'll be going to work on this thing again and hopefully finish it soon, will post it up on here and Itch.io when finished. Thanks again everyone! You're all so very appreciated! 👋

Original thread: https://forums.rpgmakerweb.com/threads/picture-based-menu.168485/