Ladders, ladders, ladders everywhere

0 favourites
  • 4 posts
From the Asset Store
snake and ladder game with two characters: turtle and rabbit!
  • Hello,

    I'm trying to make a 2D platform level with two kinds of animations for the player when climbing a ladder.

    I'm using this example

    http://www.scirra.com/forum/search_results_posts.asp?SearchID=20120916131140&KW=Ladder

    I've created two layers, one with a ladder and the player,

    and one layer on top, with an other ladder.

    Basically I want to do this (i will post a picture of my evensheet) :

    When the player climb the ladder on the main layer (up or down) : Set animation to ClimbBack (you see the player back, he is on top of the ladder)

    &

    When the player climb the ladder on the layer on top (up or down) : Set animation to ClimbFront (The ladder is on top of the player so you see his face behid the ladder)

    <img src="http://imageshack.us/a/img171/3103/sanstitresk.png" border="0">

    (sorry for my english)

    If you can help me it's cool ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "One does not simply can create animation for ladder..."

    <img src="smileys/smiley1.gif" border="0" align="middle" />

    I got the same issue, would be interested to know about it too

  • Without a CAPX I'm not able to help you with a sample file, because draw these things are too much tie expensive =

    Well, it's very easy.

    When player is overlapping ladder, set instance variable "Ladder" to yes and check if this variable is NO for all the common controls, making only the up/down commands work when in purpose.

    Also, you'll need to make various checks to make sure it will be smoothly like you want.

    and don't forget to make the collision polygon are of the stair to be one 1 or 2 pixels of width and aligned on the center, with the height being on the bottom and going to the top.

  • Thanks a lot for your help,

    and sorry for the delay ^^

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