magic-maze icon indicating copy to clipboard operation
magic-maze copied to clipboard

AI can walk through walls

Open sampie777 opened this issue 4 years ago • 2 comments

When playing with bots, the AI sometimes doesn't see the wall between two tiles. This results in the AI waiting for the player to move through that wall (which is impossible for the player) or the AI moving through that wall. See the image attached for the described situation. In this image the AI will think there is a valid crossing between the lower and the upper tile.

Screenshot from 2020-12-04 14-39-23

Not that important, but when this happens the player can get stuck in the game when only playing with bots, as the bots won't let the player take another route.

sampie777 avatar Dec 04 '20 13:12 sampie777

Thank you for the report @sampie777, I had experienced that issue as well but haven't yet found time to tackle it.

Either this comes from AI's pathfinding system, or there's something wrong with some tiles' data representation (see temp.md).

Will definitely have a look 👌

hugosaintemarie avatar Dec 05 '20 14:12 hugosaintemarie

Understood, I know the game is under development, but just wanted to point this bug out in case you haven't discovered it.

sampie777 avatar Dec 05 '20 16:12 sampie777