Hello everyone,
I'm having trouble figuring out how to do this particular task.
I have a series of sprites that are spaced out in a scrolling game.
These sprites represent things the player must pick up.
There are monsters also on the ground where these pick up items are.
I want to have these monsters move toward the closest pick up item.
The view is a 2d view, platform style, not top down.
I know there is a set angle toward another object, but when I use that the sprite tilts toward the target, which isn't ideal.
I've also not quite figured out how to determine which is closer.
I did try adding the platform behavior to my monsters so I can use its actions...
Thanks for any assistance,
Dower