mv-plugins icon indicating copy to clipboard operation
mv-plugins copied to clipboard

More flexible alternative to default 4-direction "Turn Towards Player"

Open TouringBus opened this issue 6 years ago • 0 comments

Using the default 'turn towards player' command, the NPC will snap to a perfect N/S/E/W facing.

Once we're using pixel movement, this looks pretty unnatural and doesn't work great for things like monsters or bullets or whatever. Could we add a plugin command for moveroutes that turns the NPC to the player's exact angle, so they'll head in a straight line that aims directly towards the player?

This applies similarly to the 'turn away from player' option.

(Obviously this could be extended further, but since this is intended to be a 'drop in replacement' for the default movement setup, changing movement routes first seems to make sense)

TouringBus avatar Jun 19 '19 01:06 TouringBus