I have a sevreal question to ask abaut the ai ,im intrested in the way that it know exacly where to move and where to stay still . Can i get some help ?
The AI is pretty simple. It has 2 behaviors : if you are falling, or below the board, the AI will try to go under the player to rescue it (it will target a point to the side of the player, then when it is close enough it will go under the player). Otherwise, it will target the enemy board (with a living enemy on it) which is the closest to the player, and will approach it and stay near it (it will go to a point to the side or above the enemy board). Allowing the player to hop on it, and come back on the board once the enemy defeated. When the enemy is defeated, and the player is on the AI board, it will target another enemy board and so on. Is my explanation clear? Feel free to ask any other question or precision