How do I make Pathfinding objects stop stick and stopping?

Get help using Construct 2

Post » Wed Dec 23, 2015 4:11 am

I have sprites that chase my player via Pathfinding. When the sprite goes to the edge of the layout or outside the layout, Pathfinding is disabled? I mean, the object no longer Pathfinds to the player. Why is this happening?
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300

Post » Wed Dec 23, 2015 4:36 am

Pathfinding breaks the layout into a grid. Outside of the layout is out of range, otherwise there'd need to be an infinite grid, which would be unmanageable. I wrote a plugin extension to deal with the case where you want to allow a range beyond the "normal" layout bounds.

http://www.blackhornettechnologies.com/ ... oPLUS.aspx
ImageImageImage
B
71
S
21
G
233
Posts: 3,696
Reputation: 130,368

Post » Wed Dec 23, 2015 5:04 am

Well would you look at that, it works! Thank you, @blackhornet
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 23 guests