Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Events never stop....

the title may be misleading but...in summary this is what I need help with...

When I set move routes, and I tell a certain event to walk in a circle...I use these move routes
(Move up, Move left, move down, move right) and I have it on parallel process

My problem is that my event only moves up...and it keeps going up until it runs into a wall or some other object...

Is there anyway to stop that?
 
For that particular way, you put a "Wait Before Move Completion" after the set move route, but a much better way would be to change the "Autonomous Movement" type to Custom and make your move route there.
 
Wouldn't it be easier to do a move up (wait 1 frame) move left (wait 1 frame) move down (wait 1 frame) move right (wait 1 frame).

It has to stop, allowing it to process the next cmd. It causes a slight lag though.
 
right of the sprites picture in the event editor, theres a drop down menu, and a button that says "Custom movement" thats where you put in how the characte rmoves.

Something to know about the "set move route" command.
The event editor does not wait for the move to be completed by itself before it read the next command. So after you put in the , up down left right, commands, use the Wait for Move Completion . Else RMP reads move up, and before it read the next movement commands it read move Up again, because it's in a parallel process.
 
sorry...xD my first few events are cutscenes... but when I have my characters move they continue on their first action in the move route without stopping...so like lets say I want "Alastor" to move up, down, then left (1 step each)...I input all the correct controls, but when I playtest, "Alastor" only goes up and he keeps going until he runs into a wall
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top