I am working on a 2player scrolling fighting game and I am wondering how we could implement some kind of a knockback? Somebody has given us some knockback code but it only works if (a) the other player doesn't move ( the other player is in the air. We want there to be a knockback no matter what. We are going for a sort of "interrupt" effect when you get knocked back similar to the one in Super Smash Melee where attacks don't allow you to attack for a while and you can also be juggled. Anyone have any ideas?
My GM version is: 8.1.141 Standard
My characters are chosen in a character selection screen and my character's are obj_P1 and obj_P2 whose sprites and skillsets are changed upon player selection.
Any help would be greatly appreciated thank you!
EDIT: Forgot to mention it is mostly projectile based.
Edited by Bewbcake, 29 May 2012 - 07:21 PM.