Wall slide + double and wall jump in 4 minutes - Learn Godot 4 - no talking

2024 ж. 18 Мам.
317 Рет қаралды

In this video I show you how to add double jump, wall jump and wall slide in godot for absolute beginners.
If you liked the video and are interested in more don't forget to subscribe.
And If you would like a video about a game mechanic, leave a comment about it
💎 Assets
TileSet: pixelfrog-assets.itch.io/pixe...
PlayerSprite: free-game-assets.itch.io/free...
🎵 Music credits
"Ancient Winds" from Kevin MacLeod
❤️ Support the Channel
Ko-Fi: ko-fi.com/devdrache
🎬 Video Chapters
0:00 - What you can expect
0:11 - Double jump
0:45 - Wall slide
1:30 - Wall jump

Пікірлер
  • There's a dug when you double jump on the wall, how do I fix it?

    @lucasfigueiredo9041@lucasfigueiredo9041Ай бұрын
    • oh yeah, sorry for that. he tries to slide directly along the wall when jumping. to fix this you have to add an input command to the slide. Here is an example of how to fix it: At the top of the _physics_process, change this line: if is_on_wall_only(): velocity.y = WALL_SLIDING_SPEED * delta to this: if is_on_wall_only() && (Input.is_action_pressed("move_left") || Input.is_action_pressed("move_right")): velocity.y = WALL_SLIDING_SPEED * delta

      @DevDrache@DevDracheАй бұрын
KZhead