How to set up this simple puzzle?

Hi.

I'm prototyping this type of puzzle where a player has to hack this system. The player activates an object which transfers them to this room and changes their graphic. In the image below the player is the white ball, the black balls are hazards and the green swirl is the goal the player has to reach.

So, I know how to set up the movement for the black balls, but I'm wondering how you would make it so it checks for a collision with the player? I'm going to make it so that the player is reset to the start if they touch a black ball. If they reach the goal, they'll be given a key card or something and then returned back to the main map.

Any tips on this sort of thing would be awesome.

1.JPG
Getting them to move is easy, just use the "Set Custom Route" option which is located in the dropdown that has move route options like "Move at Random" or whatever.

Second part is easy as well. Set the boulders to "Event Touch", and have the boulder teleport the player back to the beginning with one of the warp commands.
Getting them to move is easy, just use the "Set Custom Route" option which is located in the dropdown that has move route options like "Move at Random" or whatever.

Second part is easy as well. Set the boulders to "Event Touch", and have the boulder teleport the player back to the beginning with one of the warp commands.

Alright, so with the first part, you meant to set up the route for the black balls in a separate parallel event, right? Not the actual black ball? I did that and then set the black balls events to transfer the player and it worked. Just wanted to make sure I did it how you said.

Got it working though. Loving this program + the community so far. So helpful. Thanks a lot!
No need to make a parallel process, you can just do it on the balls themselves. But if you really want to confine the routes to a single event, then that's fine, but you're less likely to run into bugs and problems if you do it my way.
No need to make a parallel process, you can just do it on the balls themselves. But if you really want to confine the routes to a single event, then that's fine, but you're less likely to run into bugs and problems if you do it my way.

I think I'm misunderstanding your way a bit and I'd like to figure it out. If I do it all on the balls themselves then what I don't get is if I have the movement for a black ball set in its event + a transfer player command, then what is its trigger event supposed to be set to? if it's set to autorun, then yes, the ball will start moving but the player can't move. If its set to Event Touch, then the player can move but the ball won't because it's waiting for the player to touch it.

Here's how my event for one of the balls is set up:
1.JPG
I think I'm misunderstanding your way a bit and I'd like to figure it out. If I do it all on the balls themselves then what I don't get is if I have the movement for a black ball set in its event + a transfer player command, then what is its trigger event supposed to be set to? if it's set to autorun, then yes, the ball will start moving but the player can't move. If its set to Event Touch, then the player can move but the ball won't because it's waiting for the player to touch it.

Here's how my event for one of the balls is set up:
View attachment 80353
Let me jump in. In "Autonomous Movement", you will see "Type: Fixed". Change "Fixed" to "Custom" by clicking on it. Then click "Route..." It will open a move route window. Put into that window what you put into your movement route in the main event page. Then click OK. You will see "Speed" and 'Freq" as well. If you want the ball to move constantly, make the freq (frequency) highest, that is the last option. The lower the freq, the larger the pause that the ball will make in between each move. The speed option is simple, What you have in that screenshot is likely good. Remove the movement route in the main event page. Set "trigger" to "Event Touch" and "Priority" to "Below characters". I hope I helped you! If I was unclear, please tell me and I will try to make this easier to understand.

EDIT: In the move route page, make sure to check "Repeat action" and "Skip if cannot move".
Let me jump in. In "Autonomous Movement", you will see "Type: Fixed". Change "Fixed" to "Custom" by clicking on it. Then click "Route..." It will open a move route window. Put into that window what you put into your movement route in the main event page. Then click OK. You will see "Speed" and 'Freq" as well. If you want the ball to move constantly, make the freq (frequency) highest, that is the last option. The lower the freq, the larger the pause that the ball will make in between each move. The speed option is simple, What you have in that screenshot is likely good. Remove the movement route in the main event page. Set "trigger" to "Event Touch" and "Priority" to "Below characters". I hope I helped you! If I was unclear, please tell me and I will try to make this easier to understand.

EDIT: In the move route page, make sure to check "Repeat action" and "Skip if cannot move".

Hi, and thanks! That works perfectly. Didn't realize that you could set a route like that and not have it part of the main event commands. That Frequency setting is great too - already giving me new ideas. Only thing that didn't work was the Priority. I had to set it to Same As Characters because otherwise it wasn't detecting a collision and the player was just moving right through it.

Loving how quick this program is to get what I want up and running compared to Unity and Game Maker, which I have way more exp with.

Thanks!
Hi, and thanks! That works perfectly. Didn't realize that you could set a route like that and not have it part of the main event commands. That Frequency setting is great too - already giving me new ideas. Only thing that didn't work was the Priority. I had to set it to Same As Characters because otherwise it wasn't detecting a collision and the player was just moving right through it.

Loving how quick this program is to get what I want up and running compared to Unity and Game Maker, which I have way more exp with.

Thanks!
Glad I helped.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-set-up-this-simple-puzzle.89937/