I've seen this question asked before, but not answered, so here it goes. How would go about implementing a button mashing minigame? The problem with a conditional brach checking if the button is being pressed is that holding it down will automatically add to the counter. Wha I did is add an empty message window appearing after every button press, but that slows the whole minigame and makes two presses necessary for one point. Is there any more elegant way to solve this?
Button mash minigame
RPG Maker VXAce SupportSolved! In the conditinal branch put a script call saying: Input.trigger?🙂C)
C could be replaced by any key, up for example.
C could be replaced by any key, up for example.
Thanks! Though I already solved it. 🙂
No worries. That's part of the tutorial, using that key function of RPG Maker. Glad you figured it out. (Though IDK why it's not just built in. Seems silly to make only key-press-down detection.)
But if you want to know how to structure a button masher (Key input processing is part of it) You'll want to check out that entire demo I linked.
But if you want to know how to structure a button masher (Key input processing is part of it) You'll want to check out that entire demo I linked.
Sometimes you do need it, though. Can't think of a scenario off the top of my head, but basically, that command is like Input.press? in scripting.
Original thread: https://forums.rpgmakerweb.com/threads/button-mash-minigame.69724/