How do I create player knock back?

Get help using Construct 2

Post » Sat Mar 12, 2016 4:18 pm

When my player gets hit with a bullet, I want him to jump back in the way the bullet was flying. Could this be done with a simulate control? Such as a event for the bullet "on collision with player" then the action "player platformer simulate control jump" and then "set direction to bullet.angle"?
B
8
S
3
Posts: 5
Reputation: 714

Post » Sun Mar 13, 2016 12:33 am

You could, but I'd take a look at using vectors for that instead. That way it'll work in the air, too.
B
35
S
9
G
4
Posts: 201
Reputation: 5,170


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, tinhofiel and 30 guests