[FIXED]How do I Mutiple AI

Get help using Construct 2

Post » Tue Jun 16, 2015 6:58 pm

Good afternoon everybody

I'm trying to make a game similar to towerfall but with only three enemy AI that will fight against the player and each other and I really need help I really don't know how to program the AI.

Here is a link to the Capx. just in case, I used the platformer template and tweaked it a bit.

-Edit-
I cant post the URL for the Capx. but if somebody is willing to help I can send it via E-mail.
Last edited by JLee on Tue Feb 09, 2016 4:41 am, edited 2 times in total.
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Tue Jun 16, 2015 8:20 pm

I only need help with the AI
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Wed Jun 17, 2015 2:57 am

Bump
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Wed Jun 17, 2015 2:58 am

I can help you :)
Let me know more details :/
B
86
S
25
G
11
Posts: 652
Reputation: 11,045

Post » Wed Jun 17, 2015 3:26 am

It says I cant attach the URL of my .capx because of my reputation points can I send it to you via PM?
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Wed Jun 17, 2015 3:39 am

Basically the AI is going to walk around all the stage freely with platform mechanics similar to the player possibly stopping in x time but then keep walking, and when they spot the player or the other Ai's start shooting at them but keep walking.

Thanks Iolva.
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Wed Jun 17, 2015 5:46 am

hints :
    [1] try using view range / or/ range port behavior/ you can also use turret behavior but that's a bit confusing
    [2] you can always make it in events, by comparing distance between enemy.x, enemy.y and other actors, when distance is less then 250 pixels the enemy starts following and starts shooting(and animates optional). if out of range, he walks back or stops movement, or idles, etc! its very easy to make in c2, im guessing if u have a small idea what u want to do, and how to use the behaviors above, u can make your AI in about 10 minutes
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Thu Jun 18, 2015 4:15 am

Thanks will try, sorry for the late reply.

Last question, How do i make the enemy AI move and jump randomly when their out of range(when their not chancing the other actors)
B
7
S
2
G
1
Posts: 16
Reputation: 596

Post » Thu Jun 18, 2015 5:08 am

I don't have any idea for this, but i have a tip for you. If you wish post urls, post at this model: antiblocklink|http://www.site.com
You can use other word instead.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Thu Jun 18, 2015 6:42 pm

Yes, send me PM
B
86
S
25
G
11
Posts: 652
Reputation: 11,045

Next

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], troxx, Yahoo [Bot] and 1 guest