I am creating a tower defence game. And one of the features is making sure the user cannot place a tower which will block the path of the enemies.
But the path cannot be blocked, even if I fill up the grid with towers, the enemies still find a path. But they shouldn’t.
Any ideas why? I looked at the docs about making sure something can’t be placed if it will prevent a path being calculated but the path won’t fail so this doesn’t work.