Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Unreal Engine 5 Game Development with C++ Scripting

You're reading from  Unreal Engine 5 Game Development with C++ Scripting

Product type Book
Published in Aug 2023
Publisher Packt
ISBN-13 9781804613931
Pages 384 pages
Edition 1st Edition
Languages
Author (1):
ZHENYU GEORGE LI ZHENYU GEORGE LI
Profile icon ZHENYU GEORGE LI

Table of Contents (18) Chapters

Preface 1. Part 1 – Getting Started with Unreal C++ Scripting
2. Chapter 1: Creating Your First Unreal C++ Game 3. Chapter 2: Editing C++ Code in Visual Studio 4. Chapter 3: Learning C++ and Object-Oriented Programming 5. Chapter 4: Investigating the Shooter Game’s Generated Project and C++ Code 6. Part 2 – C++ Scripting for Unreal Engine
7. Chapter 5: Learning How to Use UE Gameplay Framework Base Classes 8. Chapter 6: Creating Game Actors 9. Chapter 7: Controlling Characters 10. Chapter 8: Handling Collisions 11. Chapter 9: Improving C++ Code Quality 12. Part 3: Making a Complete Multiplayer Game
13. Chapter 10: Making Pangaea a Network Multiplayer Game 14. Chapter 11: Controlling the Game Flow 15. Chapter 12: Polishing and Packaging the Game 16. Index 17. Other Books You May Enjoy

Recompiling C++ projects

Whenever you make changes to your C++ project, including code changes, adding new source files, and removing unused source files, you need to recompile the C++ project.

The simplest and most straightforward way is to click the Recompile and Reload button in the bottom-right corner of the UE editor:

Figure 5.8 – The Recompile and Reload button recompiles and reloads C++ code for game systems on the fly

Figure 5.8 – The Recompile and Reload button recompiles and reloads C++ code for game systems on the fly

Sometimes, this may not work because of the addition or removal of classes from the project. If this is the case, you can close the UE editor and build the project or the solution in Visual Studio.

If you manually delete source files in File Explorer, you should regenerate the Visual Studio project files before recompiling. To complete this task, find your Pangaea.uproject file in File Explorer, right-click on the .uproject file, and choose Generate Visual Studio project files from the pop-up menu:

Figure 5.9 – Generating Visual Studio project files ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $19.99/month. Cancel anytime}