NPCS walking in blocks

Get help using Construct 2

Post » Mon May 19, 2014 7:34 pm

Hi guys.
I'm trying to make npcs walk in blocks using "pathfinder behavior". Is it possible? I don't have any idea how. Can anyone help, please?

Like in this picture
Image

capx
https://dl.dropboxusercontent.com/u/2064178/spawner.capx
B
24
S
4
G
2
Posts: 96
Reputation: 2,467

Post » Tue May 20, 2014 12:58 am

Unfortunately I don't understand your problem. I've opened the capx and black boxes DO find path and move for the star.

Maybe you think about something more like this?

Also try to use Pin behaviour with Bar/Rope style of following.
Basically when each new box is spawned, pin it to the first box in the line and the rest should follow it.
You do not have the required permissions to view the files attached to this post.
B
6
G
1
Posts: 28
Reputation: 458

Post » Tue May 20, 2014 1:19 am

Hi @itzathis,
Thanks for your answer. See the picture below? I trying do like it.

Image

I trying using this plugin too: "https://www.scirra.com/forum/behaviour-boids-flocking_t77775?&hilit=boids+plugin+boids+flock" but did not succeed =/. Black blocks ignore the walls.
B
24
S
4
G
2
Posts: 96
Reputation: 2,467

Post » Tue May 20, 2014 9:36 am

anyone can help? =)
B
24
S
4
G
2
Posts: 96
Reputation: 2,467

Post » Sat Jun 07, 2014 8:32 pm

sounds like a formation move to me...
did you solved your problem?
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Sun Jun 08, 2014 8:20 pm

Maybe instead of having all of them go to
Code: Select all
star.x, star.y
you should have them find path to
Code: Select all
star.x, star.y+random(-12, 12)
B
30
S
8
G
3
Posts: 366
Reputation: 6,302


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests