How do I make a character pathfind to another character

Get help using Construct 2

Post » Tue Jul 28, 2015 7:43 pm

Answer the subject please?
B
5
S
1
Posts: 86
Reputation: 571

Post » Tue Jul 28, 2015 9:11 pm

Do you want it to move when clicking or something? Anyways, I made you an example that move towards another object when tapping the touch screen.

Image

First I set the path to be x and y of the second object. Then set the first object to move along the path.
Image
B
14
S
4
Posts: 145
Reputation: 1,948

Post » Tue Jul 28, 2015 9:30 pm

janlindso wrote:Do you want it to move when clicking or something? Anyways, I made you an example that move towards another object when tapping the touch screen.

Image

First I set the path to be x and y of the second object. Then set the first object to move along the path.



Thanks bro, I was also looking for something like this
B
11
S
1
Posts: 27
Reputation: 598

Post » Wed Jul 29, 2015 12:09 am

janlindso wrote:Do you want it to move when clicking or something? Anyways, I made you an example that move towards another object when tapping the touch screen.

Image

First I set the path to be x and y of the second object. Then set the first object to move along the path.

Its a platformed boss level and I want the character to be chassed by the boss.
B
5
S
1
Posts: 86
Reputation: 571

Post » Wed Jul 29, 2015 12:13 am

phantomunboxing wrote:
janlindso wrote:Do you want it to move when clicking or something? Anyways, I made you an example that move towards another object when tapping the touch screen.

Image

First I set the path to be x and y of the second object. Then set the first object to move along the path.

Its a platformed boss level and I want the character to be chassed by the boss.


Ok. If the boss level is one a dedicated layout, then put those actions under "on start of layout". Or you can put them under another event (for example when the boss spawns etc.).
Image
B
14
S
4
Posts: 145
Reputation: 1,948


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests