Book description
Expand your UE5 game development skills by leveraging C++ scripting and improve your game development abilities by building a game from scratch Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Learn C++ programming as well as C++ scripting for Unreal Engine 5
- Practice the UE5 scripting APIs through a game project to improve your knowledge and skills
- Explore essential techniques and development cycles including design, implementation, optimization, and publishing
Book Description
Unreal Engine is one of the most popular and accessible game engines in the industry, creating multiple job opportunities. Owing to C++ scripting's high performance, advanced algorithms, and engineering maintenance, it has become the industry standard for developing commercial games. However, C++ scripting can be overwhelming for anyone without a programming background. Unreal Engine 5 Game Development with C++ Scripting will help you master C++ and get a head start on your game development journey.
You’ll start by creating an Unreal Engine C++ project from the shooter template and then move on to building the C++ project and the C++ code inside the Visual Studio editor. You’ll be introduced to the fundamental C++ syntax and essential object-oriented programming concepts. For a holistic understanding of game development, you’ll also uncover various aspects of the game, including character creation, player input and character control, gameplay, collision detection, UI, networking, and packaging a completed multiplayer game.
By the end of this book, you’ll be well-equipped to create professional, high-quality games using Unreal Engine 5 with C++, and will have built a solid foundation for more advanced C++ programming and game development technologies.
What you will learn
- Develop coding skills in Microsoft Visual Studio and the Unreal Engine editor
- Discover C++ programming for Unreal Engine C++ scripting
- Understand object-oriented programming concepts and C++-specific syntax
- Explore NPC controls, collisions, interactions, navigation, UI, and the multiplayer mechanism
- Use the predefined Unreal Engine classes and the programming mechanism
- Write code to solve practical problems and accomplish tasks
- Implement solutions and methods used in game development
Who this book is for
This book is for game designers, artists, software engineers, and students with some experience in using Unreal Engine and looking to explore the enigmatic C++ scripting. Basic experience with the UE editor is expected and blueprint scripting is a must. Familiarity with game concepts such as game level, lights, camera, actor/pawn/character, transformation, animation, and player control will be beneficial.
Table of contents
- Unreal Engine 5 Game Development with C++ Scripting
- Foreword
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1 – Getting Started with Unreal C++ Scripting
- Chapter 1: Creating Your First Unreal C++ Game
- Chapter 2: Editing C++ Code in Visual Studio
- Chapter 3: Learning C++ and Object-Oriented Programming
-
Chapter 4: Investigating the Shooter Game’s Generated Project and C++ Code
- Technical requirements
- Understanding the MyShooter C++ project structure
- Understanding the game program structure
-
Getting familiar with the source code
- MyShooterCharacter.h
- MyShooterCharacter.cpp
- MyShooterProjectile.h and MyShooterProjectile.cpp
- TP_PickUpComponent.h and TP_PickUpComponent.cpp
- TP_WeaponComponent.h and TP_WeaponComponent.cpp
- MyShooter.h and MyShooter.cpp
- MyShooterGameMode.h and MyShooterGameMode.cpp
- MyShooter.Build.cs, MyShooter.Target.cs, and MyShooterEditor.target.cs
- Launching Unreal Editor and opening the game project in Visual Studio
- Summary
- Part 2 – C++ Scripting for Unreal Engine
-
Chapter 5: Learning How to Use UE Gameplay Framework Base Classes
- Technical requirements
- Creating a Pangaea top-down game project
- Understanding the gameplay framework base classes
- Creating game actor classes
- Recompiling C++ projects
- Using the UPROPERTY macro
- Using the UFUNCTION macro
- Adding components to the new actors
- Creating blueprints from the new actor classes
- Learning about the Unreal gameplay framework classes
- Using the Cast template function
- Summary
- Chapter 6: Creating Game Actors
- Chapter 7: Controlling Characters
- Chapter 8: Handling Collisions
- Chapter 9: Improving C++ Code Quality
- Part 3: Making a Complete Multiplayer Game
- Chapter 10: Making Pangaea a Network Multiplayer Game
- Chapter 11: Controlling the Game Flow
- Chapter 12: Polishing and Packaging the Game
- Index
- Other Books You May Enjoy
Product information
- Title: Unreal Engine 5 Game Development with C++ Scripting
- Author(s):
- Release date: August 2023
- Publisher(s): Packt Publishing
- ISBN: 9781804613931
You might also like
book
Multiplayer Game Development with Unreal Engine 5
Discover Unreal Engine 5's networking techniques, to create your own scalable and fully functional multiplayer game …
book
Game Development Patterns with Unreal Engine 5
Improve your game's code with design patterns to make it more readable, reusable, modular, and optimized, …
book
Game Programming in C++: Creating 3D Games, First Edition
You can program games in many languages, but C++ remains the key language used by many …
video
Unreal Engine 5 - Blueprints Game Developer Masterclass
Unreal Engine 5 is a powerful and widely used game development engine that allows developers to …