Hi, I do not know how to explain the problem or how to look for a better solution for him.
I am creating a turn-based game, and the characters can walk in L between 1 and 6 tiles per turn.
I managed to create the tiles selection around the character, but could not find a solution to block the tiles that it does not reach, if there is a blockage.
https://dl.dropboxusercontent.com/u/130 ... index.html
In this example I made with pathfinding, it shows how it should work in theory, but it is not feasible every time selecinar a character to show the area to reach, take all this time my example.
My tests:
https://dl.dropboxusercontent.com/u/130 ... inder.capx
https://dl.dropboxusercontent.com/u/130 ... nder2.capx
I could explain my problem?
Is there any solution?
Regards.