Hello everyone,
I would like to know if there is a way store in a variable the number of steps required by the player to reach a specific tile, including avoiding obstacle when using the default pathfinding method
dog.moveStraight( dog.findDirectionTo(x, y) )
without moving ?
I would like to know if there is a way store in a variable the number of steps required by the player to reach a specific tile, including avoiding obstacle when using the default pathfinding method
dog.moveStraight( dog.findDirectionTo(x, y) )
without moving ?