Wallclimbing and hanging on platforms

  • Hi everybody, I recently started on Construct 2 and I need help on this please.

    In my game, I want the player have some ninja skills, so I want my character to do some wallclimbing, hang and climb some platforms a-la-Ninja-Gaiden-III like the image:

    <img src="http://i.imgur.com/hH4wA.png" border="0" />

    <img src="http://i.imgur.com/5tLGu.png" border="0" />

    Please help with this :3

  • physics behavior

    Should be pretty easy with a physics behavior, via gravity when touching the ceiling sprites.

    Something like this, minus the camera and sprite rotation: airscape

    Someone else may have a good alternative, though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You'd definitely be better off using the Platform behavior, considering you appear to be making a platformer. <img src="smileys/smiley36.gif" border="0" align="middle" />

    I'd make an example if I was at home, but it isn't too complicated. Give your character a variable called State or something, set to "normal" by default, to keep track of how he should behave. Set it to "wall" when he hits a wall or the ceiling -- when it's "wall", set the player's gravity to 0 so he won't fall. Then when you press a button or something to let go, set it back to "normal", where gravity is restored.

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