Hi, guys!
So right now Im starting to really add a real AI for the enemies in my game. Lucky for me, all the enemy is going to do is chase the player. I have used a simple “if(player.getX() > enemy.getX()) speedX = 3;)”, but that easily gets the enemy stuck of course. I was wondering if any of you know any examples for AI in Libgdx I have looked into the A* pathfinding and are considering using that one since it seems like the best choice out there. Does anyone happend to know how I can combine that with the use of Tiled Map Editor too?
Its a simple 2D overview game by the way
Thanks for reading