Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Game Development Projects with Unreal Engine
Game Development Projects with Unreal Engine

Game Development Projects with Unreal Engine: Learn to build your first games and bring your ideas to life using UE4 and C++

Arrow left icon
Profile Icon Reis Profile Icon Hammad Fozi Profile Icon Gonçalo Marques Profile Icon David Pereira Profile Icon Devin Sherry +1 more Show less
Arrow right icon
€23.99 €26.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (5 Ratings)
eBook Feb 2025 822 pages 1st Edition
eBook
€23.99 €26.99
Paperback
€77.99
Paperback
€32.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Reis Profile Icon Hammad Fozi Profile Icon Gonçalo Marques Profile Icon David Pereira Profile Icon Devin Sherry +1 more Show less
Arrow right icon
€23.99 €26.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2 (5 Ratings)
eBook Feb 2025 822 pages 1st Edition
eBook
€23.99 €26.99
Paperback
€77.99
Paperback
€32.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
€23.99 €26.99
Paperback
€77.99
Paperback
€32.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Game Development Projects with Unreal Engine

Working with Unreal Engine

In the previous chapter, we went through the basics of the Epic Games Launcher, along with Unreal Editor fundamentals. We learned how to work with objects and what Blueprints are at a basic level, in addition to exploring the First Person template. In this chapter, we’ll be building upon those fundamentals by exploring the Third Person template and working with input and animations.

Game development can be done in a wide variety of languages, such as C, C++, Java, C#, and even Python. While each language has pros and cons, we will be using C++ throughout this book as it is the primary programming language that’s used within Unreal Engine.

In this chapter, we will get you up to speed on how to create a C++ project and perform basic-level debugging in UE5. It is very important to be able to debug code as it helps the developer while dealing with bugs. The tools provided come in very handy and are essential for any Unreal Engine developer.

Following this, we will get up close and personal with the core classes involved in creating games and experiences in Unreal Engine. You will explore Game Mode and the relevant class concepts, followed by an exercise to gain a hands-on understanding of this.

The final section in this chapter is all about animations. Almost every single game features animations, some to a very basic extent, but some to a very high level, which includes captivating details that are key to the gameplay experience. Unreal Engine offers several tools you can use to create and deal with animations, including the Animation Blueprint, which provides complex graphs, and a State Machine.

This chapter will focus on many of the basic concepts and features within Unreal Engine. You will be shown how to create a C++ project, how to perform some basic debugging, and how to work with character-specific animations.

In this chapter, we’ll cover the following topics:

  • Creating and setting up a blank C++ project
  • The Content folder’s structure in Unreal Engine
  • Working with the Visual Studio solution
  • Importing the required assets
  • The Unreal Game Mode class
  • Understanding levels and the Level Blueprint
  • Animations

By the end of this chapter, you’ll be able to create C++ template projects and debug code within Visual Studio, understand the folder structure and the best practices involved, and be able to set up character animations based on their states.

Technical requirements

This chapter has the following technical requirements:

Creating and setting up a blank C++ project

At the start of every project, you may want to start with any of the templates provided by Epic (which contain ready-to-execute basic code) and build on top of that. Most/some of the time, you may need to set up a blank or empty project that you can mold and sculpt to your requirements. We’ll learn how to do that in the following exercise.

Exercise 2.01 – creating an empty C++ project

In this exercise, you will learn how to create an empty C++ project from the template provided by Epic. This will serve as the foundation for many of your future C++ projects.

Follow these steps to complete this exercise:

  1. Launch UE5 from the Epic Games Launcher.
  2. Click on the BLANK PROJECT section and click Blank.
  3. Under the Project Defaults section on the right pane, select C++.

Note

Make sure that the project folder and project name are specified with an appropriate directory and name, respectively.

  1. When everything is set up, click on the Create button. In this case, our project directory is inside a folder called UnrealProjects, which is inside the E drive. The project name is set to MyBlankProj (it is recommended that you use these names and project directories, but you can use your own if you wish to do so).

Note

The project name cannot have any spaces in it. It is preferable to have an Unreal directory as close to the root of a drive as possible (to avoid running into issues such as the 256-character path limit when creating or importing assets into your project’s working directory; for small projects, it may be fine, but for more large-scale projects, where the folder hierarchy may become too complex, this step is important).

  1. After it’s done generating the code and creating the project files, the project will open, along with its Visual Studio solution (.sln) file.

Make sure that the Visual Studio solution configuration is set to Development Editor and that the solution platform is set to Win64 for desktop development:

Figure 2.1 – Visual Studio deployment settings

Figure 2.1 – Visual Studio deployment settings

By completing this exercise, you know how to create an empty C++ project on UE5, along with its considerations.

In the next section, we’ll talk about the folder structure, along with the most basic and most used folder structure format that’s used by Unreal developers.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Kickstart your career or dive into a new hobby by exploring game design with UE4 and C++
  • Learn the techniques needed to prototype and develop your own ideas
  • Reinforce your skills with project-based learning by building a series of games from scratch

Description

Game development can be both a creatively fulfilling hobby and a full-time career path. It's also an exciting way to improve your C++ skills and apply them in engaging and challenging projects. Game Development Projects with Unreal Engine starts with the basic skills you'll need to get started as a game developer. The fundamentals of game design will be explained clearly and demonstrated practically with realistic exercises. You’ll then apply what you’ve learned with challenging activities. The book starts with an introduction to the Unreal Editor and key concepts such as actors, blueprints, animations, inheritance, and player input. You'll then move on to the first of three projects: building a dodgeball game. In this project, you'll explore line traces, collisions, projectiles, user interface, and sound effects, combining these concepts to showcase your new skills. You'll then move on to the second project; a side-scroller game, where you'll implement concepts including animation blending, enemy AI, spawning objects, and collectibles. The final project is an FPS game, where you will cover the key concepts behind creating a multiplayer environment. By the end of this Unreal Engine 4 game development book, you'll have the confidence and knowledge to get started on your own creative UE4 projects and bring your ideas to life.

Who is this book for?

This book is suitable for anyone who wants to get started using UE4 for game development. It will also be useful for anyone who has used Unreal Engine before and wants to consolidate, improve and apply their skills. To grasp the concepts explained in this book better, you must have prior knowledge of the basics of C++ and understand variables, functions, classes, polymorphism, and pointers. For full compatibility with the IDE used in this book, a Windows system is recommended.

What you will learn

  • Create a fully-functional third-person character and enemies
  • Build navigation with keyboard, mouse, gamepad, and touch controls
  • Program logic and game mechanics with collision and particle effects
  • Explore AI for games with Blackboards and Behavior Trees
  • Build character animations with Animation Blueprints and Montages
  • Test your game for mobile devices using mobile preview
  • Add polish to your game with visual and sound effects
  • Master the fundamentals of game UI design using a heads-up display

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Last updated date : Feb 11, 2025
Publication date : Nov 27, 2020
Length: 822 pages
Edition : 1st
Language : English
ISBN-13 : 9781800203488
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Last updated date : Feb 11, 2025
Publication date : Nov 27, 2020
Length: 822 pages
Edition : 1st
Language : English
ISBN-13 : 9781800203488
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 195.97
Elevating Game Experiences with Unreal Engine 5
€77.99
Blueprints Visual Scripting for Unreal Engine
€57.99
Unreal Engine 5 Character Creation, Animation, and Cinematics
€59.99
Total $ 195.97 Stars icon

Table of Contents

20 Chapters
Chapter 1: Introduction to Unreal Engine Chevron down icon Chevron up icon
Chapter 2: Working with Unreal Engine Chevron down icon Chevron up icon
Chapter 3: Character Class Components and Blueprint Setup Chevron down icon Chevron up icon
Chapter 4: Getting Started with Player Input Chevron down icon Chevron up icon
Chapter 5: Query with Line Traces Chevron down icon Chevron up icon
Chapter 6: Setting Up Collision Objects Chevron down icon Chevron up icon
Chapter 7: Working with UE5 Utilities Chevron down icon Chevron up icon
Chapter 8: Creating User Interfaces with UMG Chevron down icon Chevron up icon
Chapter 9: Adding Audio-Visual Elements Chevron down icon Chevron up icon
Chapter 10: Creating the SuperSideScroller Game Chevron down icon Chevron up icon
Chapter 11: Working with Blend Space 1D, Key Bindings, and State Machines Chevron down icon Chevron up icon
Chapter 12: Animation Blending and Montages Chevron down icon Chevron up icon
Chapter 13: Creating and Adding the Enemy Artificial Intelligence Chevron down icon Chevron up icon
Chapter 14: Spawning the Player Projectile Chevron down icon Chevron up icon
Chapter 15: Exploring Collectibles, Power-Ups, and Pickups Chevron down icon Chevron up icon
Chapter 16: Getting Started with Multiplayer Basics Chevron down icon Chevron up icon
Chapter 17: Using Remote Procedure Calls Chevron down icon Chevron up icon
Chapter 18: Using Gameplay Framework Classes in Multiplayer Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(5 Ratings)
5 star 60%
4 star 20%
3 star 0%
2 star 20%
1 star 0%
Christopher West Oct 27, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book was a good primer on using Unreal Engine 5 and Visual Studio to make games! The book is broken down into 18 Chapters that take you through a full range of topics from the fundamentals of setting up an Unreal Engine 5 project to Multiplayer networking. Throughout the book, readers are taught concepts as they build 3 different video games. The games include a dodge ball game to teach concepts like physics and collisions, a side scrolling game to teach concepts like enemy Ai and spawning, and lastly a first person shooter game to teach multiplayer concepts.I found this book to be a good primer and resource for games concepts in Unreal Engine 5 and I would recommend it for beginner to intermediate level developers that want to start building games on this platform.
Amazon Verified review Amazon
Janis Briedis Dec 20, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Well written book.
Amazon Verified review Amazon
Jannik Nov 12, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I find the way the topics covered are taught over 3 work examples very good. As someone who has worked a bit with UE4, I found it a pity that I did not find a short paragraph on the changes of UE5 or their advantage in comparison. But otherwise I would highly recommend the book to anyone starting out or wanting to get back into UE5.
Amazon Verified review Amazon
Jose Antonio Martinez Perez Sep 28, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This is a book for those that prefer practice rather than videos, it'll guide you step by step about how to use Unreal Engine 5, there is not much difference between UE4 and UE5 but it has some extra features that Elevating Game Experiences with Unreal Engine 5 - Second Edition will teach you.A must read for those looking to improve the quality of their games, every studio must have this book in the shelf.
Amazon Verified review Amazon
Honk Gamedev Sep 23, 2023
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
Chapter 2 is infuriating if you are starting with UE 5.2, maybe the book hastly was written with a preview version of UE 5.0 to jump on the band wagon.Exercices in the wrong order, screenshots that doesn]t make sense with the exercice step.TL;DR: get ready to get your hands dirty and a google tab open (which is good) while following this book.Message to the authors: book definitely needs a review pass, early chapters are a pass or no pass from a user retention standpoint.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Modal Close icon
Modal Close icon