How do I make a Object to find path.

Get help using Construct 2

Post » Fri Sep 18, 2015 2:01 pm

how we can make this "Enemy" to fiind next path and when arrived to E --->action .. destroy

Image
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 2:09 pm

You could use pathfinding with an instance variable to check the order to follow
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Fri Sep 18, 2015 2:26 pm

ex?
Last edited by CBelle on Fri Sep 18, 2015 2:27 pm, edited 1 time in total.
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 2:26 pm

MadSpy wrote:You could use pathfinding with an instance variable to check the order to follow

example? i cant find it
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 2:33 pm

you can't find pathfinding?
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Fri Sep 18, 2015 3:46 pm

MadSpy wrote:you can't find pathfinding?



pathifinding is behavior.. how to use pathfinding with an instance variable to check the order to follow??
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 4:58 pm

MadSpy wrote:you can't find pathfinding?


Image


not work if you mean this ? his go to A6
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 5:42 pm

ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Fri Sep 18, 2015 7:04 pm

blackhornet wrote:http://www.blackhornettechnologies.com/Construct2Stuff/SequentialPathfinding.capx




this work perfect..

but how make it if i need this when spawned ? i dont need it on start layout.. i want to make wave's
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Fri Sep 18, 2015 8:31 pm

You'll need to keep track of your current ID (in a global for example), and assign the value on Spawn.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Next

Return to How do I....?

Who is online

Users browsing this forum: Cha0tiXGamer, MaujDeveloper and 7 guests