How do I program a custom movementhe for a NPC?

Get help using Construct 2

Post » Thu Sep 08, 2016 10:32 pm

:shock:
B
4
Posts: 16
Reputation: 232

Post » Fri Sep 09, 2016 12:08 am

You're welcome, J8U5. :mrgreen:

All we need to do is arranging conditions, so that the NPC will move according to the arrangement.

Here's an example

https://www.dropbox.com/s/ueaqwaailirea ... .capx?dl=0
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Fri Sep 09, 2016 9:13 am

Ohhhh. Now I understand. Thanks!
B
4
Posts: 16
Reputation: 232

Post » Fri Sep 09, 2016 12:57 pm

You're welcome, J8U5. :mrgreen:

Another method is to use a Pathfinding behavior.

https://www.scirra.com/tutorials/1118/path-finding

And.. check this one out as well.

follow-path-behavior_t65382
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Fri Sep 09, 2016 1:58 pm

Yeah, i know i can use the pathfinding behabior but i consider it more difficult
B
4
Posts: 16
Reputation: 232

Post » Fri Sep 09, 2016 5:30 pm

There's a behavior called Spline by RexRainbow.

It's much easier than pathfinding. Take a look at the behavior's demo. :mrgreen:

behavior-rex-spline_t178563
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests