RPG Maker Forums

Heya folks! (Let me know if this isn't possible using events, if it's not then I'll send this over to the JS boards)
So, basically I was wondering if there was a way to have an image (dependent on variables) appear by the press of a button? To be more specific, the idea is this: Basically I am trying to code an event where if I held down a button (for now let's just say the TAB button) the game would check a specific variable and depending on that variable, it would then show a certain image and stop the player's movement. The moment the player let's go of the TAB button, it would then erase the image (or images) and allow the player to move again. (Image below showing a concept of what it might look like.)
The Black is the actual screen whilst the white is the image.
Screen.png

Idk if the image explained it the best, so I went ahead and fetched a game with a similar concept: Bad Dream: Coma.
For those of you who haven't seen the game, I have a link to a let's play of it here, though the thing I am talking about is at 3:57 - 4:25 and 4:53 - 5:15 of part 1, so no need to watch any other parts to understand what I'm talking about.
So basically, in the game it tracks what ending you are heading for. If I recall, my game has about 3-9 endings-ish (though most are just variants of other endings)? Either way I'm going to have it in a similar way. The similarities are where it shows which ending you are going to get and which endings are already off the table. I want it where when you press the button the game checks for Variable X (or whatever variable) and if it's higher than 0 then it will place an image over the ending you cannot get, giving the appearance that it scribbled the ending out.
Here's an image of that example as well. The screenshot is from the Bad Dream Coma Let's Play showing what it looks like:
Another Exampleio.PNG

As stated previously, idk if this is an be done as an event, though if it can be: some pointers on where to start with something like this would be very helpful! If this is the kind of thing that needs JS Plugins then I'll shoot this over to the people over in that sub-forum.
Thank you all!
ThatPlush

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top