Keybinding pop up images dependant on variables?

ThatPlush

Warper
Member
Joined
Mar 27, 2020
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

What theme for the next windowskin? You'll decide. Tell what you wanna see and I'll try for.
I just saw in a manga an interesting mechanic - setting up a stationary teleport beacon that one can go to no matter where one is in a dungeon. I think it'll work with a similar setup to how I did my airship transition.

Ooh what if you could set up multiple beacons and choose from a list of the beacons you set up?

Hmm...
Actor2_1 added!

Is the running performance of MZ output to Android platform smoother than MV output?
FINALLY GOT ALL 120 STARS IN SUPER MARIO 64!!!

Forum statistics

Threads
103,251
Messages
998,360
Members
134,749
Latest member
Meppo
Top