DDR Styled Mini Game?

Is there any way to make a sort of DDR Mini Game for Rpg Maker MV? 
Either scripts or Common Events or something? I've seen many people try making Rhythm based battles for MV, but only battles. I'd like to just have a Mini game that doesn't require a battle for this to happen. 
Yeah, I do this in my own game and it works pretty much flawlessly, though that took literally days of eventing and script calls (partially because I randomized the arrows, which is much more involved than if you have a fixed set of arrows, included several different levels of hits such as "Perfect" and "Almost", and added rules to detect "distinct" hits so that arrows close together wouldn't be judged at the same time).


In its most basic form, what you want to do is use conditional branches to detect whether a certain button is being pressed at a particular time.  If it is, register a hit on that arrow and give the player points (in the form of a variable).  Then you need to make Arrow graphics (easiest with Events, but most fluid with Sprites that are created via scripting) that will get to the "hit bar" at the correct time, via careful use of positioning and speed.
Yeah, I do this in my own game and it works pretty much flawlessly, though that took literally days of eventing and script calls (partially because I randomized the arrows, which is much more involved than if you have a fixed set of arrows, included several different levels of hits such as "Perfect" and "Almost", and added rules to detect "distinct" hits so that arrows close together wouldn't be judged at the same time).


In its most basic form, what you want to do is use conditional branches to detect whether a certain button is being pressed at a particular time.  If it is, register a hit on that arrow and give the player points (in the form of a variable).  Then you need to make graphics (easiest with Events, but most fluid with Sprites that are created via scripting) that will get to the "hit bar" at the correct time, via careful use of positioning and speed.

Can you possibly help me with this? I'm incredibly confused on what I'm doing with this...


Thanks for the reply!
Can you possibly help me with this? I'm incredibly confused on what I'm doing with this...



What part are you having the most trouble with?  Maybe I could give you a few hints through that roadblock.  If the answer is "everything including where to start", I'd recommend putting off the DDR for now and getting really good with eventing before you try taking it on, because it is relatively advanced stuff and there's really no way around that.
You realize only people who know what DDR is can help you, because you haven't provided any sort of explanation of what a "DDR styled mini game" actually is?
@Shaz








 Is this a goon enough example?


Timed button presses. DDR is a fairly simple concept. I didn't really think I'd need to explain it in detail. 


@Wavelength


The main issue I have is with having the buttons needing to be pressed in a specific period of time rather than simply "Press the button at any time you feel like to move on to the next one". 
Although I haven't tested its full functionalities, I think MOGHunter's Theatre Rhythm plugin can be used to create something similar.


https://atelierrgss.wordpress.com/rmv-theatrhythm/
@Wavelength


The main issue I have is with having the buttons needing to be pressed in a specific period of time rather than simply "Press the button at any time you feel like to move on to the next one". 



The most basic way to do this is to have a Parallel Process event loop every X frames (where 60 frames is one second) and check to see whether the correct button is pressed.  Assuming you know in advance what the correct button to press will be at the right time (this is true in most DDR modes and is far simpler than randomizing arrows), it's not too hard - the Parallel Process increments a variable every X frames and when the Variable is equal to certain values you will use a Conditional Branch to see if the button is being pressed.  Here's some sample eventing:


((Event: Parallel Process, no graphic))


Wait: 10 frames


Control Variables: Variable #28 "DDR Timer" += 1


Conditional Branch: If Var #28 is equal to 6


..Conditional Branch: If Button LEFT is being pressed


....Control Variables: Var #29 "DDR Hits" += 1


..Else


....Control Variables: Var #30 "DDR Misses" -= 1


..End Branch


End Branch


Conditional Branch: If Var #28 is equal to 9


..Conditional Branch: If Button RIGHT is being pressed


....Control Variables: Var #29 "DDR Hits" += 1


..Else


....Control Variables: Var #30 "DDR Misses" -= 1


..End Branch


End Branch


Conditional Branch: If Var #28 is equal to 12


..Conditional Branch: If Button LEFT is being pressed


....Control Variables: Var #29 "DDR Hits" += 1


..Else


....Control Variables: Var #30 "DDR Misses" -= 1


..End Branch


End Branch


Conditional Branch: If Var #28 is equal to 13


..Conditional Branch: If Button RIGHT is being pressed


....Control Variables: Var #29 "DDR Hits" += 1


..Else


....Control Variables: Var #30 "DDR Misses" -= 1


..End Branch


End Branch


Conditional Branch: If Var #28 is equal to 16


..Conditional Branch: If Button DOWN is being pressed


....Control Variables: Var #29 "DDR Hits" += 1


..Else


....Control Variables: Var #30 "DDR Misses" -= 1


..End Branch


End Branch


Ideally you'd want to run this event only while the DDR Minigame is being played, so you might use a Switch as its event page condition - turn it ON at the beginning of the song, and OFF at the end of the song.
Check this plugin out by Moghunter?


Not exactly the same but something similar.
Check this plugin out by Moghunter?


Not exactly the same but something similar.

Kind of unrelated, but I would SO play that game. I actually wonder if I could use these concepts to create a timed critical press for elemental attacks. That would bring my game to another level. Once the mapping of the overworld is done, I have to check back on this thread.

Original thread: https://forums.rpgmakerweb.com/threads/ddr-styled-mini-game.70962/