Create a sprinting character in part two of our CRYENGINE 5.7 LTS C++ tutorial series with Video Producer and Technical Author Nick Gillin.
Today we are following up on our popular C++ tutorial series; teaching you how to set up sprinting for your player character in just 15 minutes.
The tutorial builds on the first tutorial in the series, which demonstrates how to create a player-controlled character from scratch with traditional WASD movement and mouse-look functionality. By watching that tutorial and following along, you will get a grounding in C++ and produce the files required to complete this new course.
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.
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. We actively encourage people from all backgrounds and experience levels to apply to our open positions, so join us over at LinkedIn and check out our careers page.
- CRYENGINE Official
- - Forum Rules
- - Official Announcements
- CRYENGINE Development
- - Educational & Beginner's Corner
- - - CRYENGINE First Aid
- - - CRYENGINE Feedback
- - - Tutorials & Learning
- - - Plugins, Source Code & GitHub
- - CRYENGINE General
- - - General Discussion
- - - Showcase Gallery
- - - Virtual Reality / Augmented Reality
- - C#/C++ Programming
- - - Entities
- - - Networking
- - - Shaders & Rendering in General
- - - Programming General
- - Asset Preparation
- - - Plugins & Tools
- - - Models & Art
- - - UI
- - - Audio Middleware
- - Game Design - Sandbox Editor
- - - Audio
- - - Animation
- - - Materials
- - - Physics
- - - Debugging
- - - Visual Scripting
- - - UI (HUD/Menu)
- - - Artificial Intelligence
- Online Services
- - Website
- - Launcher
- - Asset Database
- Community Corner
- - Events & MeetUps
- - Recruitment & Collaboration
- - - Job Offers [PAID work only]
- - - Talent Showcase - looking for work
- - - Collaborations [Free Work & Hobby Teams]
- - Off-Topic Discussions
Who is online
Users browsing this forum: No registered users and 2 guests