Edgehanging in a platforming game.

0 favourites
  • 4 posts
From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • Hi there. So what I'm trying to do is make a decent edge hanging code where you attach yourself to the ledge whether you're falling or jumping. I've been trying several tactics to accomplish this, but only have gotten somewhat close. At the moment, I'm kinda stumped, so I'm putting out my .capx for folks to take a look at. Maybe someone will be able to help out a bit.

    Thank you very much in advance.

    Edgehanging Trouble

  • I suppose I should bump? I also feel I should mention that I've looked at several tutorials on the subject, particularly in the How do I FAQ thread. Unfortunately, they've not much helped.

  • Not a perfect solution but an improvement on what you have :

    <img src="https://dl.dropboxusercontent.com/u/36472942/construct/forumhelp/EdgeHanging.PNG" border="0" />

    You need more conditions and sub-events to precisely define the exact moment/conditions for your edgegrabbing to occur.

    I hope this leads you on the way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah. Sub-events were never something I understood a ton. They seem to be if/then types of checks? I'll have to read up a bit more on it all...

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