How do I do path finding outside the layout?

Get help using Construct 2

Post » Fri Jan 02, 2015 3:14 pm

Hi everyone, happy new year!
I'm working on a top-down shooter and i'm trying to make the enemies spawn outside the layout and then move along paths on the screen but i'm having problems.
When i spawn the enemy inside the layout it moves along the path, but if i spawn then outside the screen they dont move.
Can you guys help me out?
Thanks
Last edited by brunnomendes on Fri Jan 02, 2015 3:21 pm, edited 1 time in total.
B
4
Posts: 10
Reputation: 214

Post » Fri Jan 02, 2015 3:17 pm

ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Fri Jan 02, 2015 3:42 pm

I thank you for the help, but i'm new here, i didn't understand how it works. I've installed the plugins and read the example but it is mixed with the screen-shake thing.
Can you make a capx with just the basic to make the pathfinding work outside the layout?
Thanks again.
B
4
Posts: 10
Reputation: 214

Post » Fri Jan 02, 2015 4:40 pm

Just remove event 3 and delete the ScrollToPlus Behaviour.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Sat Jan 03, 2015 12:31 am

Now i've got it!
But still i have to make the canvas larger to spawn the enemies inside of it, they don't move if spawned outside. The pathfinding target can be outside, but not the enemy.
Its a good plugin but i could do that with a larger canvas and centering the camera in the middle of the "screen rectangle". But its faster this way.
Maybe they should look to add that support, it's really annoying to know that you can't do that.
Sorry for my english.
B
4
Posts: 10
Reputation: 214


Return to How do I....?

Who is online

Users browsing this forum: blue visionary, tarek2 and 10 guests