Custom Platform Behavior

This forum is currently in read-only mode.
From the Asset Store
Wanting to do a Shot n Run game easily? Here is your chance!
  • Well first thing I want to know is there really any reason to recreate platform behavior? the way I see it, its excellent starting point, you can always expand upon it with new custom controls.

    Second is what are possible ways to accomplish this? I tried doing it with just events and it nearly drew me insane.

    I was stuck right at the gravity, no matter what I did there was random chance player would move couple of pixels into ground Is it even possible to do it with just events?

    I know some ppl were doing this with Physics behavior, But I have not used it much.

    What are the Dis/advantages of physics based platform behavior?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I really don't think there's a need to make custom platform movements anymore. But, if you do want to make your own, there's a fairly simple way to solve the issue where you get stuck a few pixels below the ground. Something like:

    +Object overlaps ground
        -Set Object Y to Object Y - 1
    The while in the event will push the object up 1 pixel until said object is no longer overlapping with the ground.
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)