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
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.
Thanks for your answer. See the picture below? I trying do like it.
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.
Develop games in your browser. Powerful, performant & highly capable.
anyone can help? =)
sounds like a formation move to me...
did you solved your problem?
Maybe instead of having all of them go to
star.x, star.y[/code:1idclk04] you should have them find path to [code:1idclk04]star.x, star.y+random(-12, 12)[/code:1idclk04]