Original Post
Hi
I just wanted to know if there was a simple way to implement collisions in my tile based game. I''ve already written some code to stop the player from colliding with nonwalkable tiles, but how should I do it with NPCs? First of all, unlike the tiles, the npcs move around. I want it so that the player can walk up to an npc and stop moving in that direction of there is a colision. Can anyone help? Thanks
-Spark