How to Crouch (JUMP) in Godot 4!

Опубликовано: 13 Октябрь 2024
на канале: Chaff Games
1,856
80

This week we are looking at how to make a crouch jump. One of the major issue when making a crouch jump mechanic is that regular crouching will not work as well as you may want it to. The crouch speed can be faster than the players own gravity. One way to overcome this limitation of Crouch Jump in Godot is to use an animation tree player to blend between the crouch states.

Support the Channel:   / chaffgames  

Join The Discord:   / discord  

My Latest Course: https://www.udemy.com/course/building...

Get the FPS Template Here: https://chaffgames.com/fps-game-templ...

---------------------------------------------------------------------------------------------
My Set Up:
VO Mic: https://amzn.to/3QfnL6d
Audio Interface: https://amzn.to/46MFidg
CloudLifter: https://amzn.to/49dMUqE
Camera Mic: https://amzn.to/4980cFh
Case: https://amzn.to/46JiTxi
CPU: https://amzn.to/471Jeah
GPU: https://amzn.to/3si8r0G
Keyboard: https://amzn.to/3tPL6nC
Mouse: https://amzn.to/46KhM0h

As an Amazon Associate I earn from qualifying purchases.
----------------------------------------------------------------------------------------------
Please like and Subscribe! It's truly appreciated

----------------------------------------------------------------------------------------------
Stamparoni

Intro - 0:00
Issues with Crouch Jump - 00:35
Creating the Animations - 2:00
Setting up the variables - 6:13
Setting up the Input - 7:03
Crouch Function - 7:30
Crouch Toggle - 9:43
Clipping Demonstration - 11:35
Crouch Ground Animation - 12:15
Animation Tree Set Up - 14:10
Logic For Animation Tree - 17:00
Clipping - 22:00
Crouch Speed- 30:41
Variable Clean Up - 34:18
Disable Jump When Crouch - 35:30
Channel Update - 38:00
Conclusion - 40:00

--------------------------------------------------------------------------------------------

Please like and Subscribe! It's truly appreciated

#GameDevelopment #GameJam #Godot

Links to my Socials

Instagram:   / chaff.dev  
Twitter:   / chaffdev  
Itch.io: https://chafmere.itch.io/
Website: chaffgames.com