Make Player Bounce Off Enemy

somersetjc

  • Posts: 40
I am making a platformer and want the player to somewhat bounce off the enemies kind of like in Mario games but I am unsure on how to do this.

JeffreyDriver

  • *
  • Posts: 2163
ACTORS > TWEENING > SLIDE

Use this block and trigger it when the player collides.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

somersetjc

  • Posts: 40
ACTORS > TWEENING > SLIDE

Use this block and trigger it when the player collides.

I tried doing that but sometimes it just go up then freeze midair and plays the walking animation.

TheIndieStation

  • *
  • Posts: 2260
simply aply a push towards the -1 y direction with a little force!