Really nice collba with AI. Level 3 really showed how the game can be a nice puzzle. Great game, even if you almost took all of your time to make the AI :(, now you now about astar pathfinding XD. Good job!
Viewing post in untitled AI Hat Puzzle game jam comments
thanks for the kind words I feel a little better
What I did for path finding isn’t great though, I spawned a grid of points, points that collide with objects are blocked and the Ai is forced to choose a number of points (each point can only be once in one path) the Ai chooses the point that will get him closer or at least less far away from his the points near him and isn’t blocked. Once he chose one point he repeats number of times this thinking he is at the last point he chose. and then I have a list of points I let him follow, the list resat every second if the target has moved.
And this way he usually get lucky and gets past an object and to the target