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

Channel:
Subscribers:
51,100
Published on ● Video Link: https://www.youtube.com/watch?v=xWExyPNIW30



Category:
Tutorial
Duration: 15:44
5,797 views
156


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 http://www.cryengine.com

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

#cryengine #cpp #programming




Other Videos By CRYENGINE


2023-03-30A 2D Pixel Character in a 3D CRYENGINE Environment? - Live Stream Upload
2023-03-23Achieved with .. your help? CRYENGINE is hiring!
2023-03-14CRYENGINE Indie Game Interview: Last Kingdom I Blue Iron Labs
2023-02-23Hunt down your next role in game dev
2022-11-30How to Make a Character Crouch with C++
2022-09-14Making our Player Jump in C++ - CRYENGINE TUTORIAL
2022-09-09Laser Effects with special guest Viktor Ikkes!
2022-09-09Night Environment with special guest Brian Dilg!
2022-09-09Transgender Awareness Day Artwork Stream with special guest Gabriel Yakir Ketteler!
2022-09-09World Creator x CRYENGINE - with special guest Brian Dilg!
2022-08-10Creating Player Walk and Sprinting in C++ - CRYENGINE TUTORIAL
2022-07-18How You Can Create A Player Character with C++ - CRYENGINE Tutorial
2022-06-01Discord AMA with Brian Dilg & Nicholas Gillin I May 2022
2022-05-27How to Create a Main Menu Using Schematyc [UI Tut. Part 2] - CRYENGINE 5.7 LTS
2022-05-17Discord AMA with Jeremy Wade, May 2022
2022-04-28Creating and implementing a crosshair [UI Tutorial Part 1] - CRYENGINE 5.7 LTS
2022-02-18Discord AMA with Arto Ruotsalainen, February 2022
2021-10-06Production Guide for Indies - CRYENGINE Summer Academy S1E15 - [Developer Insights]
2021-09-22Debugging your Game in CRYENGINE - CRYENGINE Summer Academy S1E14 - [Developer Insights]
2021-09-16Shaping audible landscapes for Games - CRYENGINE Summer Academy S1E13 - [Developer Insights]
2021-09-08Cat-Herding Particle Effects - CRYENGINE Summer Academy S1E12 - [Developer Insights]



Tags:
Game
Engine
Development
CRYENGINE
Player Sprinting
Sprinting Cpp
C++ tutorial
C++ Player Creation
Creating A player in c++
C++ game tutorial
Programming tutorials
How to create a player in c++
How to create movement in c++
Movement in c++
Creating a player in Code
Coding a player
Coding Movement in C++
Creating player walking
Creating Sprinting in C++
Creating a Run in c++
Running in C++
Running of a character in c++
Tutorial locomotion in c++