How do I fix my 'wall climbing' setup.

0 favourites
  • 3 posts
From the Asset Store
Wall Pin Board is a hyper causal game developed for fun and inspired by YouTube video whose link is given in description
  • Greetings again,

    I have been trying to fix this setup for a while. I finally made wall climbing and jumping function how I wanted except that if you hold 'W' and move down to fall off the side of a sprite the gravity angle does not change and you ending up falling to the left or right side of the screen rather than drop down.

    I've tried setting the gravity angle to change when falling on the last 'Else'; however, that makes jumping up the side of a wall impossible. I've attached my setup below to this post.

    Update: I've been able to prevent this using an invisible sprite at the bottom of sprites that can you wall climb against that sets your gravity angle on collision. It seems like a messy solution though and I'd like to try for something better.

    Thank you,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Based on what I see there.. Maybe you can try testing if a point is overlapping an object (one of the system conditions). Put all your climbable stuff in a family, and test against that using the y position of your player, and bboxleft-1, bboxright+1 positions. That way, you won't need to use the extra sprite.

  • Thanks for the reply, Prominent! : )

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