[LIBGDX] Starting out on AI :)

Hi, guys! :slight_smile:

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 :slight_smile: 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? :slight_smile: Its a simple 2D overview game by the way :wink:

Thanks for reading :slight_smile: