How Would i make it so i could bounce off enemies

Get help using Construct 2

Post » Thu Oct 23, 2014 1:22 am

I wanna be able to bounce off an enemies head(like in mario) i already tried

on collision ------> simulate control jump.

doesnt work. Any other ways to do this. i made it so when i jump on the enemies head it kills them but want to add bouncing for combos.
B
9
S
1
Posts: 42
Reputation: 622

Post » Thu Oct 23, 2014 1:48 am

That probably doesn't work because you cannot jump in mid-air (unless you do a double jump). You could try adding the solid behavior on the enemies (and setting the collision to a bounding box for a better result). Otherwise you'll have to do the bounce manually by messing with the vector Y. There's probably a tutorial around here somewhere though. I remember seeing it before.

Edit:

Here: https://www.scirra.com/tutorials/253/ho ... ame/page-7
Last edited by Xavier on Thu Oct 23, 2014 2:07 am, edited 1 time in total.
B
75
S
29
G
17
Posts: 256
Reputation: 15,250

Post » Thu Oct 23, 2014 1:57 am

thanks! thats what i needed
B
9
S
1
Posts: 42
Reputation: 622


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests