movable platform

  • Hi,

    First sorry for the bad image :(.

    Can any one help me to create the idea in the image.

    Is it possible to create it in construct 2?

    <img src="http://dl.dropbox.com/u/52040403/story.jpg" border="0" />

    Thanks in advance :)

  • Have you played with physics much?

    Most of that should be doable using the behavior, dunno about the last panel, looks a bit like Roadrunner/ Wile Coyote physics.

  • newt,

    I'm still trying, but i don't really know lots about physics. so I'm reading some tutorials about it.

  • Doable but the last part, the Ball would roll :D

  • So any idea, any help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's done just as you describe. Give the player and obstacles the physics behavior, and apply forces to the player to make him move.

    http://dl.dropbox.com/u/5426011/examples%208/physics_plat.capx

  • gents,

    correct me if i'm wrong but, could mina use physics to move the ball in scene 'D' but make it 'still' when it is not being pushed by the 'player'. that way, it will not roll off the beam, but it will still be heavy enough to make it a platform that the player can jump off of, at the higher end to the top 'goal'.

  • Thanks a lot R0J0hound <img src="smileys/smiley42.gif" border="0" align="middle" />

  • R0J0hound,

    Is it possible to create the same idea, but with having a platform behavior for the sprite (Mario) instead of the physics behavior?

  • mina

    One option you could try.

    Why not have 2 copies of mario - one using physics and one using the platform behavior. Destroy and create the appropriate one whenever it's needed.

    ** EDIT **

    Having just played around with this idea, I can't recommend it. I'm not sure if it's mixing Physics and Platform behaviors (even though not on the same sprite), but it seems to make C2 behave VERY erratically. It's crashing more than it has since the early days :(

  • Zenox98,

    I tried it already, but its not work perfectly as it is now.

    I also tried to set player position to another sprite which has the platform behavior (at the beginning of the game) and then, when it collides with something before it reaches to this idea position it's position will be changed to another sprite which has the physics behavior. But also its not working. :(

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