How can I do "Bounce on enemies" ?

Get help using Construct 2

Post » Fri Aug 02, 2013 4:32 pm

Hello Everyone,

I'm trying to do a platform and I want the main character can bounce on the enemies, when is falling.

Like this:
https://www.youtube.com/watch?v=wW5MhY9NHsc

I tried with "Is Failing" action but does not jump again.

How can this be done?
Any recommendation?

Thanks in advance,
Best Regards,

Jaime Medina.
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662

Post » Fri Aug 02, 2013 4:39 pm

Do the basic platformer tutorials, they cover this. On collision with enemy if player y is less than enemy (they are higher up), set vectorY to -700. Or some other number that feels right. You cam also tweak it further by doing things like if the player is pressing UP when they bounce off the enemy they bounce higher, etc...
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,538


Return to How do I....?

Who is online

Users browsing this forum: ladjuric, luckyrawatlucky, lukedevel, m0nkeybusiness, NN81, tunepunk and 10 guests