How do I Make an Enemy Jump onto platforms?

Get help using Construct 2

Post » Thu Jan 21, 2016 3:59 am

I want to make an Enemy That Follows the Player, but The Problem is that if The Player jumps onto a Platform or Higher Grounds, The Enemy Would think it's following the Player, but it isn't. What should I do?
*Insert Signature here*
B
13
S
5
Posts: 73
Reputation: 1,090

Post » Thu Jan 21, 2016 8:22 am

You can check the player.Y position to determined if he's above or below the enemy, then you preform jump/fallthrough when needed, if you need the enemy to jump from specific points on the path he is walking, you can place a collision sprite in these points and preform the jump on collision and if Y is lower.
Image
B
76
S
28
G
12
Posts: 515
Reputation: 12,409

Post » Thu Jan 21, 2016 3:27 pm

Lof wrote:You can check the player.Y position to determined if he's above or below the enemy, then you preform jump/fallthrough when needed, if you need the enemy to jump from specific points on the path he is walking, you can place a collision sprite in these points and preform the jump on collision and if Y is lower.


I'll try that.
*Insert Signature here*
B
13
S
5
Posts: 73
Reputation: 1,090


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Google [Bot], jorgmaquoi, TELLES0808 and 4 guests