What's the easiest way to give enemies a predetermined route?
example => A to B to C to D to A...(repeat)
Preferable without acceleration/deceleration involved so they keep a constant speed pattern.
There are a lot of ways to do that. I've seen the timeline used to make the paths, or the pathfinder behavior to move through waypoints. Here's a way that just moves the objects toward node sprites. Once it hits a node it moves to the next one and so on. I use the group instance variable to have multiple paths.
dropbox.com/s/ig67mil486eh9ou/node_path_follow.capx
Develop games in your browser. Powerful, performant & highly capable.
The easiest method is to use MoveTo behavior, it supports waypoints.
Sprite Move to A (add waypoint)
Sprite Move to B (add waypoint)
Sprite Move to C (add waypoint)
...
Sprite On Arrived - repeat from the beginning
The easiest method is to use MoveTo behavior, it supports waypoints. Sprite Move to A (add waypoint) Sprite Move to B (add waypoint) Sprite Move to C (add waypoint) ... Sprite On Arrived - repeat from the beginning
Yea this was what I was looking for. :) worked great! Thanks to all replays!