Creating Player Walk and Sprinting in C++ - CRYENGINE TUTORIAL @cryengine
Creating Player Walk and Sprinting in C++ - CRYENGINE TUTORIAL  @cryengine
Uploaded August 2022 | Updated September 2026, 2 weeks ago
In the latest episode, you will be shown how to add sprinting movement to the player-controlled character created during the previous tutorial, giving your player two speeds to use - walking and running. You will be shown how to add sprinting to the character and how to modify the movement values in the engine, so both the walking and sprinting speeds can be customized. In addition to adding and tweaking sprinting, Nick shows you how to optimize the Player.cpp and Player.h files by introducing and explaining the programming practice of "Forward Declaration," a time saver for compile times, particularly on large projects.

By following along with the tutorial and using the .cpp and .h file that you created during the first tutorial, you will finish with a player-controlled character that can sprint, which you can drag and drop into your own projects.

00:00 Intro
00:48 Forward Declaration
03:44 Creating Player State
04:54 Adding Member Variable
05:40 Defining the Add Member
08:18 Adding Input
11:22 Adding Sprint Logic
13:36 Sprinting in game

CRYENGINE - The most powerful game development platform is now available to everyone. Full source code. 5% Royalties. No license fee. Join us over at cryengine.com

Subscribe: youtube.com/cryengine?sub_confirmation=1
Add us on Twitter: twitter.com/cryengine
Follow us on Facebook: facebook.com/cryengineofficial
Join the discussion on our Forum: forum.cryengine.com and/or CRYENGINE Discord: discord.gg/cryengine
Browse our Marketplace: cryengine.com/marketplace

#cryengine #cpp #programming
Creating Player Walk and Sprinting in C++ - CRYENGINE TUTORIALHow to add properties to a custom entity | Programming & ProjectsCRYENGINE Tips & Tricks - Cherry Pick GameSDK FeaturesRyse Free Assets Installation | Art & AnimationLow Poly Assets  & Environment Design Talk - CRYENGINE Summer Academy S1E4 - [Developer Insights]FlappyBoid Introduction to CRYENGINE - Chapter 8: Player Death :(Indie Dev Showcase 2017 | Achieved with CRYENGINELevel Design with Procedural Tools - CRYENGINE Summer Academy S1E3 - [Tutorial]
CRYENGINE |

Creating Player Walk and Sprinting in C++ - CRYENGINE TUTORIAL

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER