Is there a way to make characters always walk forward/turn right?

Hello all,

I'm new to RPG Maker and brand new to the boards, so if I'm in the wrong place feel free to let me know.

Otherwise I am wondering if it's possible to make characters in the game always walk in one direction and always turn right if they hit a wall.

I know it may sound odd but I'm trying to make a Chu Chu Rocket kind of puzzle, check out the video linked here for an example:



Is this possible with the in game prompts or can someone direct me to a script, if one exists? Thanks in advance!
you can set the wait time,when player touch the event ,add most turn right~
My English is poor, I hope you can understand it.LOL
I thinkAfter thinking about it, i think this would require a conditinal branch in the events move route were if they can't move it turns on a self switch. and on the last page, if they can move it turns off all self switches. Don't know if thats possible in a move route, but i could be wrong
Otherwise I am wondering if it's possible to make characters in the game always walk in one direction and always turn right if they hit a wall.
You can do that in the "set movement route" portion of an event's movement. No plugin required. Just do this:
  1. Select Type: Custom for an event's movement, then click Route to set a custom route
  2. Add a bunch of "1 Step Forward" commands (enough to span the entire track you plan on running these events on, so if the maximum distance of the "race track" or whatever is 30 tiles, set "1 Step Forward" 30 times.
  3. For the final command, add "Turn 90 degrees Right"
  4. Make sure "skip if cannot move" is checked.
Edit: Oh wait, if you mean for the player to do this instead of events, you can apply the same principle, but do so using a "set movement route" command for the player using a loop. Somewhere in that loop, you'll need to also test for the player's location to break them out of the loop/complete the objective/etc. Note that for this, you'll probably want to use the Loop/Break Loop event commands rather than the movement route's "repeat movements" checkbox.

Edit2: It occurred to me that I've been using pretty much what you're after all along using a different approach. You can set certain events to force the player to move X steps forward, and as long as "wait for completion" is unchecked and "skip if cannot move" is checked, you can effectively allow other events to basically pass the player around from one to the other. Here's an image of what I'm talking about:

JW1i3Wa.gif


Each of those events turns the player in the direction the event (arrow) is facing, then sends them moving forward a bunch of steps. With wait for completion unchecked and skip if cannot move checked, colliding with another event early will cancel the previous event's movement route and cause the next event's to take over.
Hey guys, thank all of you SO MUCH for your help! All of your input will be a huge boon for me.

I teach History and I'm currently making a game summarizing our unit on Ancient Mesopotamia. Students will be able to play it in their free time while reinforcing what they learned in class; your input is going to make this a lot better for them!
Wait... What does Chu Chu rocket have to do with ancient mesopotamia? You have me intriuged. Can you post the game when it's done?
Wait... What does Chu Chu rocket have to do with ancient mesopotamia? You have me intriuged. Can you post the game when it's done?

My goal is to create a game where it's a fictionalized summary of the Seven Characteristics of Civilization. Students have study periods where they can play the game, and as they play things we discussed in class will be mentioned and reinforced. For example, I have a simple boss battle where the boss quizzes you on the discovery of agriculture; each correct answer damages the boss until you can more or less one-hit him by acing his exam. Each wrong question adds monsters to the battle and makes the boss stronger.

Students eventually will get to Mesopotamia, which is a big, barren desert where they have to complete quests. Each quest revolves around a characteristic of civilization and will add to the town as they are finished, ultimately building the first civilization.

The Chu Chu Rocket idea is for the first characteristic, Stable Food Supply. Water will flow wildly the way the characters move in Chu Chu Rocket and players will have to direct the flow of the water. This will reflect the flooding/drying period of the Tigris and Euphrates and the creation of canals and levees. Once they solve all the puzzles and control the flow of the water the main city will have two rivers flowing through it.

I'd be happy to post it here if people are interested in trying it, just keep in mind it's my first project ever and isn't going to be all that great. It's designed for 6th graders so it'll be a bit simple too.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-characters-always-walk-forward-turn-right.113977/