Hey guys! I have a question about @jwunderl 's A* path following extension. It seems that when I try to make multiple enemies follow the same sprite in an game update loop with time or a forever loop with a pause block, they seem to move back and forth every time the loop updates. If someone knows how to fix this bug, the help would be appreciated!
3 Likes
I’m not sure. when I remove the pause(500), they stay completely still. Maybe the first path the enemy is given to go to is the tile its already on?
I’m no professional, but I’m pretty sure it’s because the sprites path following resets from the start every time it’s called.