jump on and destroy a solid object.

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Just like a Sonic game I want sonic to jump on a ring box and destroy it at the same time. But I'm having trouble with that because the box is a solid object.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I understand you correctly,

    Create a small delay in the event portion of the same condition. Try different amounts time plus or minus till you get the desired effect

    On Land (Condition)> System>wait 0.5 seconds

    • ---------------------------------------->Ring Box Destroy

    Remember the code always runs from top down. Events triggered within the same condition tend to run at the same time but using "wait" forces it to wait before triggering the next event in a given condition.

    I'm assuming the player needs to jump off again before it's destroyed. If I misunderstand you or alternatively, you can create an invisible object underneath the "ring box" object that has the actual solid behavior or some combination of this and the above example.

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