How to Add LEDGE GRABBING & CLIMBING in 2D Platformers | Godot 4 Tutorial

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 14

  • @Leonmaffrand
    @Leonmaffrand 7 днів тому

    I'm making a Commander Keen fan game and just when I thought your tutorials couldn't be more useful you upload this.

  • @mb_kieran
    @mb_kieran 8 днів тому

    FIRST! so excited to watch this

  • @Throh-Art
    @Throh-Art 7 днів тому

    🎉🎉

  • @kasutadomushi17
    @kasutadomushi17 6 днів тому +1

    Hello, thanks for the tutorial.
    After testing climbing up each ledge in the tile map, somehow I couldn't jump.
    I checked the state change logs and noticed that normally, after climbing up, the state changes to "Idle", then immediately to "Fall", and then back to "Idle".
    However, in the last test, the remaining transitions didn't occur, which caused the issue of not being able to jump.
    Should I change the state to "Fall" instead of "Idle" after the "LedgeClimb" animation finished, or could this cause another issue?

    • @BiLLzDevs
      @BiLLzDevs  6 днів тому +1

      Some else had a similar issue, one that I have not encountered in my testing. I believe I initially put the transition to be to the “fall state” but that was glitchy so I switched it to “idle”. I would suggest trying the “fall” state as that would call the landing function and reset your jumps. If that is glitchy you can try calling the landing function in the “ExitState” method of the “LedgeClimbState” or you could manually reset jumps to 0 in the “EnterState” function of the idle state. Feel free to reply back if none of those work

    • @jichaelmackson1531
      @jichaelmackson1531 6 днів тому

      ​@@BiLLzDevsThis solved for me! I change state to fall. Have a great night!

  • @YhvghVhibv
    @YhvghVhibv 7 днів тому +1

    معدل

  • @DajjalSlayers
    @DajjalSlayers 8 днів тому +1

    hello awesome tutorial . can i use your code for my first game on playstore ?

  • @Kirblin101
    @Kirblin101 8 днів тому

    Hi, make an enemy tutorial

    • @BiLLzDevs
      @BiLLzDevs  6 днів тому

      I will soon! I have a few more mechanics videos planned before I make some videos on topics such as enemies and combat

  • @jichaelmackson1531
    @jichaelmackson1531 7 днів тому

    Hi man. Thank you for all knowledge. I made everything right but when i climb a ledge somethimes he cant jump. Ihave to dash or he stay and cant jump

    • @BiLLzDevs
      @BiLLzDevs  7 днів тому

      Interesting. I have not had this issue. Does your “HandleLanding” function set jumps to 0?