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.
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.
Here: https://www.scirra.com/tutorials/253/ho ... ame/page-7
Develop games in your browser. Powerful, performant & highly capable.
thanks! thats what i needed