[How do I] Enemy Ai

Get help using Construct 2

Post » Tue Apr 29, 2014 5:10 pm

Hey Guys, im new here :)
hopefully you can help me..

Image

What i looking for:
- zombie run to the player everytick
- if the zombie is in attack range he should attack, and deal dmg to the player
- when the player jump zombies should stop attacking, and follow the player on the ground along X/Y where the player is about to land

What i got so far:
The Zombie Walks with Run animation into player, and chase him with the Pathfinding Behaviors

Image

Greets
B
5
S
1
Posts: 19
Reputation: 413

Post » Tue Apr 29, 2014 9:09 pm

Check out the Distance expression in the manual, it will help get you started I think.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Tue Apr 29, 2014 9:19 pm

You want something like this?

http://eli0s.com/Tests/Zombies.capx
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Wed Apr 30, 2014 6:07 am

Message: DREZO is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
ArcadEd wrote:Check out the Distance expression in the manual, it will help get you started I think.


thanks!

eli0s wrote:You want something like this?


thats exactly what i looking for, thank you :)

do you maybe have more such projects? for learning purposes :oops:
B
5
S
1
Posts: 19
Reputation: 413

Post » Wed Apr 30, 2014 1:12 pm

composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Wed Apr 30, 2014 2:02 pm

Thanks eli0s :D
~Everyone can make GAMEs~
B
55
S
11
G
1
Posts: 414
Reputation: 5,786

Post » Wed Apr 30, 2014 2:08 pm

You're welcome!
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829


Return to How do I....?

Who is online

Users browsing this forum: evillair and 6 guests