Jump on enemies

  • Hello,

    I created a "foot" on my character for bounce on enemies.

    The problem is that the foot does not fit properly on platforms.

    I tried the behavior "platform" but it changes nothing.

    puu.sh/7SaGt.jpg

    puu.sh/7Sb7U.png

    Any idea ? Thank you

  • i had a hard time understanding what you are trying to accomplish but i think i know what you need.

    you want to be able to "kill" your enemy's or bounce off them when your player collides with them from above?

    if yes try this:

    create a square box(sprite) that has almost the same size as your character.

    set to invisible from properties and then give it the platform behavior.

    delete the platform behavior from your character.

    set:

    every tick set position to another object your new square sprite to your player.

    now you move your square and the player moves along.

    square on collision with enemy and

    platform is falling------------------------------------------- set square platform vector y to -500.

    thats it! your player now bounces off enemy's.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • here you go sir.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)