Hi community,
I’m working on a maze like game where the size of every object is a multiple of 16x16 pixel.
The issue I am encountering is that the fields directly adjacent to an obstacle cannot be set as a move target.
The virtual cell size is 16x16 and the “extra border size” is 0 although changing the value doesn’t do anything (neither a positive nor a negative value).
What would I have to do in order to walk to a field right next to the wall (red marked area)?
[code]legend:
- blue dot = player (with pathfinding automatism)
- red dot = target (gets moved on mouseclick)
- grey box = wall (pathfinding obstacle - impassable)[/code]
If you would like to see an example download the “tbstrat.zip” project from this post:
http://compilgames.net/forum/viewtopic.php?f=20&t=6974
Thanks in advance