Pathfinding "Regenerate Obstacle Map" Problems...

Get help using Construct 2

Post » Wed Feb 20, 2013 3:44 am

Hey all,

I am trying to build a game using the Pathfinder behavior. I want to allow the player to add their own obstacles before starting the game play.

I use the "Regenerate Obstacle Map" action on my Pathfinder elements, however, it doesn't seem to be working.

Here is a capx that demonstrates the problem.

I saw some other posts in the forums with possible solutions, but haven't gotten mine to work. Any help would be appreciated.

Bret
B
11
S
2
G
3
Posts: 10
Reputation: 3,026

Post » Sat Mar 16, 2013 5:53 pm

You're using the "Regenerate Obstacle Map" action at the wrong time.

Each time you add an obstacle, you have to regenerate the obstacle map and find the right path again.

Like that:

Example
B
22
S
3
G
5
Posts: 10
Reputation: 4,267


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests