[RMMV] PROGRAMMING A GAME

Posts

Pages: 1
So I'm working on a game where there is a scene where the main character has to prove her skill. She needs to press the spacebar at a specific time to pass the test (With objects that fly by) I have no clue how to program this. Can somebody help?
Easy way that comes to mind:

Have the object that fly by be an event.

Have a parallel event determine that event X (if it moves horizontally) or Y (if it moves vertically)

Have the player stand in front of an invisible event activated by key press.

When you key press that invisible event, it'll check if that X or Y is the correct value. If so, player hits.
Thanks for the advice. I'm trying to get it to work now.
Your games seem cool, I'll take a chance to play them when I can.
Pages: 1