Hey guys so i'm trying to make a tile based game.
i have the player movement all done but i'm stuck on the enemy.
I've tried doing move at angle and set position, but i need help making the enemy move closer towards the player each 64 pixels.
Develop games in your browser. Powerful, performant & highly capable.
Would it be possible to transfer the player movement to the enemy, or does the player have a completely different way of moving?
By the way, you haven't responded anymore on the last thread I tried to help you, so I'll ask here:
Was my advice/explanation in that thread of any help to you?
Oh yes!~ the bullet method helped like a charm! thank you.
Getting back on topic, the way the player is controlled, is that there are 4 tiles pined to ether side of the player, by clicking on the tile the player is set to that position.
i would have trouble making the enemy/mob move like that towards the player.
-I found a way to complete my task-