How do I do pathfinding with minimal turns

Get help using Construct 2

Post » Mon Feb 23, 2015 1:03 pm

I would like to find path that has minimal turns (or you can say minimal nodes) on a square grid with several solid obstacles placed in the grid randomly - Note that this is not necessarily the shortest path found by the pathfinding behavior...I have tried this already. Also pls note that - I have disabled diagonals in pathfinding behavior to make it travel only in straight lines on the grid.

Any ideas on how to achieve this? Looks like I cannot use Pathfinding behavior for this as it always tries to find path with minimal distance but not minimal turns...I am trying to make a Onet game.

Any brainees, please let me know...
For game development / IT services contact - [email protected]

List of published iOS apps - ... d693234511
Posts: 337
Reputation: 7,368

Return to How do I....?

Who is online

Users browsing this forum: RadAlie Games and 1 guest