Platformer - Enemy chase player ?

Get help using Construct 2

Post » Sun Mar 09, 2014 1:01 am

So, how do i make enemy chasing player ?

- Mirroring animation (the enemy sprite animation is only facing right)
- Only trigger when player is on-screen

Any help will be greatly appreciated :)
B
2
Posts: 3
Reputation: 181

Post » Sun Mar 09, 2014 3:01 am

I'm sorry, are you asking how do you make an enemy chase a player?
B
19
S
7
G
7
Posts: 88
Reputation: 4,117

Post » Sun Mar 09, 2014 6:42 am

Yup that's right.
Sorry but i don't know how to edit my last post.

Basically i'am asking about how to make an enemy chase / seek the player in platform game.
And i want my enemy sprite capable of facing right and left (mirrored) while chasing the player.
And last thing i want to make is the chase action triggered only when that enemies is on-screen, so they won't chase the player all the time.

Just that :), thx for replying
B
2
Posts: 3
Reputation: 181

Post » Sun Mar 09, 2014 7:44 am

that is easy with behaviors. This should help you:

Image
https://burpsgames.com/shared_capx/enemy_chases_player.capx

Cheers,
Marco
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Thu Mar 13, 2014 8:44 am

Thanks dude, it works wonderfully !
B
2
Posts: 3
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Jackriduk, NN81 and 37 guests