How to make roads with Pathfinding / Path Cost

Get help using Construct 2

Post » Mon Nov 24, 2014 5:15 pm


Im trying to create roads, that the units prefer walking on , by using Add path cost action of Pathfinding behavior.

First I made a negative Path Cost but the results are not what i expected.
Then i tried to make a big square, to set the entire map PathCost 20 for example, and then set the road sprites to change the path cost to 0, but it seems the path cost can only be added, as the action name says.
The only way it seems to work is to make sprites cover all the ground but the roads, but it will result in too many sprites for covering that area.

Anyone can think of another way to achieve this?
Posts: 120
Reputation: 1,829

Return to How do I....?

Who is online

Users browsing this forum: dioking, Google [Bot] and 16 guests