phaser-grid-physics icon indicating copy to clipboard operation
phaser-grid-physics copied to clipboard

Pathfinding not working with tiles with borders

Open nkholski opened this issue 8 years ago • 0 comments

This is't ment to be understood by anyone. Just doodling down a solution,

Solution: Tile 1 and 2, 2 has border to the left, sprite is 3 trying to walk down:

Default 0330 1122 1122 Add border: 0330 1||2 1||2 Prevent walking down with border in the middle by bodies larger than tile siez. * = blocked left and up. * should be | if body width equals grid width: 0330 1*|2 1||2

nkholski avatar Feb 09 '17 09:02 nkholski