CRYENGINE 5.7 C++ Tutorial, Crouching!
CRYENGINE 5.7 C++ Tutorial, Crouching!

CRYENGINE 5.7 C++ Tutorial, Crouching!

Refine your code and allow your players to crouch by watching the latest in our CRYENGINE 5.7 LTS C++ tutorial series!

The next installment in our CRYENGINE 5.7 LTS tutorial series shows you how to add a crouch mechanic to a player-controlled character using C++. You'll also learn how to refine the code you've created so far in the series to provide a solid basis for the future, which is good practice for any project. Your host, as ever, is Technical Author and Video Producer Nick Gillin.

The tutorial builds on the previous episodes in the series. The first shows you how to create a player-controlled character from scratch with traditional WASD movement and mouse-look functionality. The second shows you how to add a sprinting mechanic, and the third episode shows you how to add jumping. By completing those tutorials, you will gain a grounding in C++ and produce the file required to complete this new course.

Episode 1 – Create a player character with C++

Episode 2 – Create player walking and sprinting mechanics in C++

Episode 3 – Add a jump mechanic to your player character

In the new episode, Nick begins by refining the existing code established in the previous tutorials. This process will include modifications to make it easier to work with as the project grows in complexity and is best practice for any game project. Once the code is refined, you will be shown how to go over the code to integrate functions and components that will add a crouching input for the player. Once the process of adding a crouch mechanic to the player is completed, you will have a player-controlled character capable of walking, running, jumping, and crouching!

You can also follow along or complete the tutorial using our written documentation.

Don't forget to subscribe to our official YouTube channel, home to a wide range of learning videos, to get a notification when the next one drops.

If you have questions or feedback about CRYENGINE, let us know in the comments, on the forum, or via Facebook and Twitter. You can pick up tips and tricks about our game development, ask questions, and more by joining our community and the CRYENGINE development team over on our official CRYENGINE Discord channel.

If you find a bug in the engine, please report it directly on GitHub, which helps us process the issue quickly and efficiently. You can find out how to submit feedback on GitHub, and access CRYENGINE source code, here. Don't forget to subscribe to our YouTube channel, where we host a range of content, including tutorials covering all aspects of the engine and game design. Want to show your love for CRYENGINE? Pick up merch over on the official online Crytek Store.

Are you looking for your next career move? At Crytek, we value diversity and actively encourage people from all backgrounds and experience levels to apply to our open positions, so join us on LinkedIn and check out our careers page.