Platform AI Pathfinding

Get help using Construct 2

Post » Wed Nov 27, 2013 5:48 am

Hi,

How do I make AI find a path like on the image? I looked for solution for it in search but it doesn't seam like a very popular thing. Maybe something like IF PLAYER Y < ENEMY.Y PICK NEAREST PLATFORM WITH SMALLER Y THAN CURRENT ENEMY.Y ( so it wouldn't pick up the platforms below him ) which would repeat until the enemy would reach the platform with player followed with appropriate movement actions, but I have no idea how to pick nearest platform instance with higher or lower value relative to the enemy instance. Would anyone have any solutions?

megatronx2013-11-27 05:55:22
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
93
S
30
G
22
Posts: 1,987
Reputation: 20,203

Post » Wed Nov 27, 2013 7:55 am

I've solved it ^^''
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
93
S
30
G
22
Posts: 1,987
Reputation: 20,203

Post » Thu Dec 05, 2013 6:09 pm

can you share your solution?
Carlo Andrei Mercado

Animator, illustrator, concept artist, special effects for games.

[email protected]

http://f-fman.wix.com/portfolio-ffman22

http://ffman22.deviantart.com/



tutorials:



https://www.scirra.com/tutorials/950/dynamic-mini-map dynamic-mini-map tutorial



https://www.scirra.com/tutorials/9479/p ... ing-damage falling damage platform tutorial



originally published by ffman22
B
62
S
19
G
4
Posts: 341
Reputation: 6,610


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests