[Solved]How do I move an object on top of another object?

Get help using Construct 2

Post » Mon Jul 20, 2015 3:44 am

I have an object that is a path, and I want another object just walk over that object, the path object is created with the mouse. Thanks in advance.
Last edited by seymore on Mon Jul 20, 2015 2:25 pm, edited 1 time in total.
B
6
S
1
Posts: 29
Reputation: 465

Post » Mon Jul 20, 2015 6:18 am

You would probably have to use Custom obstacles for the Pathfinding behavior, and have invisible obstacles all over the screen, so that when you place a path, those obstacles get destroyed and you can regenerate the obstacle map around the object. Because what you want is basically to specify where the object can move but the Pathfinding behavior only allows you to specify where it can't go.

Here's an example: https://www.dropbox.com/s/85nsk1k5u3z8wrb/Path.capx?dl=1

Use the left mouse button to place paths and click the right mouse button to move the character.
B
10
S
2
Posts: 33
Reputation: 710

Post » Mon Jul 20, 2015 2:24 pm

Got I, thank you for helping me.
B
6
S
1
Posts: 29
Reputation: 465


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, David181, dop2000, mekonbekon, namaewayukidesu, senecaa and 13 guests