Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I have no idea how to make something climbable in my game.

A topic by TeaMaki created Oct 21, 2019 Views: 309 Replies: 2
Viewing posts 1 to 4
(1 edit)

I am making a game for a game jam. An simple platformer. And i am wondering how do i implement a thing that you can climb on (the game is 2d). Like you dont have a mini ladder on a shelf! (I mean art, not how to do it)

Admin

Hello, this board is for questions related to itch.io, not game development. I've moved your topic. Please check the rules & description before posting in the future. Thanks

Admin moved this topic to General Development

Hey, what Engine are you working in? I'll try to keep it general, my way of implementing it would be:

  • Check for climbable objects to the side your character is facing (in a really small distance, you would want to touch the object)
  • While a climbable object is nearby, disable gravity (and possibly jumping)
  • move the character according to your up/down input
  • re-enable gravity and jumping when no climbable object is to the side
  • Profit!