Pathing for Enemy AI

Get help using Construct 2

Post » Thu May 16, 2013 6:46 pm

Hey everyone, I believe I posted this question before but I am unable to find the thread.

I am dissecting the pre-made games that come with Construct 2. Right now I am focusing on the Top-Down Scrolling Shooter game. I learn the most by dissecting other peoples work/code/etc.

Anyways, in this game the enemies are spawned at certain intervals but they just sort of fly south and that's about it. What I am wanting to add, is a path my little ships could fly in on. Slow down after the path is completed and take up a formation, attacking the player. After a set time they would continue on their way south or whatever I decide.

Hopefully this has given you an understanding of what I am interested in making. Do you have ideas how I could tackle this?

Thank you,
StephenTekniko2013-05-16 18:47:38
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Sat May 18, 2013 7:41 am

*Bump* 24 hours
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Sat May 18, 2013 8:02 am

TO find your own posts you can just go into your profile and click the link that says how many posts you have.

As for your question, do a search for waypoints in the forums and you will find some good posts on how to create paths if you don't want to use the built in pathfinding behaviors.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Sat May 18, 2013 8:23 am

Didn't even know there was a path-finding feature in the engine lol. I will start there.

EDIT: Gave that a look through and I don't think that is what I need.
I need enemies to follow a set path. But there's no way to set the path?Tekniko2013-05-18 08:31:54
B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Sat May 18, 2013 8:51 am

you could use Moveto Plugin
B
18
S
6
G
3
Posts: 197
Reputation: 4,129


Return to How do I....?

Who is online

Users browsing this forum: Braus, Yura G and 16 guests