Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Unreal Engine 4 Game Development Quick Start Guide
Unreal Engine 4 Game Development Quick Start Guide

Unreal Engine 4 Game Development Quick Start Guide: Programming professional 3D games with Unreal Engine 4

Arrow left icon
Profile Icon Rachel Cordone
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (6 Ratings)
Paperback May 2019 202 pages 1st Edition
eBook
$13.98 $19.99
Paperback
$26.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Rachel Cordone
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Empty star icon 4 (6 Ratings)
Paperback May 2019 202 pages 1st Edition
eBook
$13.98 $19.99
Paperback
$26.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$13.98 $19.99
Paperback
$26.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Unreal Engine 4 Game Development Quick Start Guide

Programming Using Blueprints

Now, we have the Unreal engine installed and you have familiarized yourself with its layout. We've set up our project, looked at how to customize it, and we have added extra content with the Animation Starter Pack. Now, it's time to learn about Blueprints.

Blueprints are a powerful alternative to traditional C++ programming. As I said in the previous chapter, it is possible to create an entire game using only Blueprints. In this chapter, we will start laying the foundation for our Awesome Game using Blueprints, and, in later chapters, we will expand on this game so we can learn how to use other Unreal Engine 4 systems.

The following points will be covered in this chapter:

  • Creating custom Blueprint classes and extending from Epic's base classes
  • Using variables and functions within Blueprint classes
  • Adding Components to a Blueprint class...

The Blueprint window

To start working with Blueprints, we first need to go over the layout of a Blueprint window. In the Content Browser, go to ThirdPersonBP\Blueprints and double-click on ThirdPersonCharacter. The window that pops up should look like this:

There's a lot going on here, so let's break it down tab by tab.

In the main window, we'll see our actual code. For our ThirdPersonCharacter class, we see the use of variables, operators, pure functions, and calls to other functions. We also see some tabs at the top of this—Viewport, Construction Script, and Event Graph. Every function we open will appear as a tab here. These will be discussed in the Graphs and Viewport sections later in this chapter.

In the bottom-left corner of the window, we will see the My Blueprint tab, which holds all of the Graphs, Functions, Macros, Variables, and Event Dispatchers...

Time for action

Our awesome game has been sitting there not getting awesome, so let's start expanding it with some Blueprints of our own.

The first thing we will do is add a sprint button for our character. This will cover a lot of the things we've discussed in this chapter, as well as the previous one:

  1. Go back to the main editor window.
  2. Go to Edit | Project Settings, and scroll down to the Engine section.
  3. Click on the Input subsection.
  4. Press the plus sign next to Action Mappings and name the new one Sprint.
  1. Assign it a key of Left Shift:
  1. Close the Project Settings page and go back to out ThirdPersonCharacter's main blueprint window and the Event Graph tab.
  2. Right-click and type Sprint. Our custom input event will show up as an option:
  1. Now, go to the Components tab on the left and drag the Character Movement component out into the main window to create a...

Summary

We've covered a lot in this chapter, and I hope I've cleared up any confusion you've had over the way Blueprints are used. As you can see, they are an incredibly powerful tool, and by browsing the nodes in the right-click menu, you can see that practically everything you want to do can be done in Blueprints as an alternative to traditional code.

You can quite easily create entire games using nothing but Blueprint code. In the next chapter, however, we will discuss adding C++ code to a Blueprint project for those rare instances when Blueprint alone is not enough.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn the fundamentals of Unreal Engine such as project templates, Blueprints, and C++
  • Use replication to create multiplayer games
  • Build dynamic game elements using Animation Blueprints and behaviour trees

Description

Unreal Engine is a popular game engine used by developers for building high-end 2D and 3D games. This book is a practical guide designed to help you get started with Unreal Engine 4 and confidently develop interactive games. You’ll begin with a quick introduction to the Unreal Engine 4 (UE4) ecosystem. Next, you’ll learn how to create Blueprints and C++ code to define your game's functionality. As you progress, you’ll cover the core systems of UE4 such as Unreal Motion Graphics (UMG), Animation Blueprints, and behaviour trees to further build on your game development knowledge. The concluding chapters will then help you learn how to use replication to create multiplayer games. By the end of this book, you will be well-versed with UE4 and have developed the skills you need to use the framework for developing and deploying robust and intuitive games.

Who is this book for?

You will find this book useful if you already have some game development experience or are a Unity user who wants to get started with UE4. Knowledge of basic object-oriented programming topics such as variables, functions, and classes is assumed.

What you will learn

  • Learn how to use project templates for your games
  • Create custom Blueprints and C++ classes and extend from Epic s base classes
  • Use Unreal Motion Graphics (UMG) to create menus and Heads-up Displays (HUDs) for your game
  • Develop more dynamic characters using Animation Blueprints
  • Understand how to create complex AI with behavior trees
  • Optimize, test, and deploy a UE4 project

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 31, 2019
Length: 202 pages
Edition : 1st
Language : English
ISBN-13 : 9781789950687
Vendor :
Epic Games
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : May 31, 2019
Length: 202 pages
Edition : 1st
Language : English
ISBN-13 : 9781789950687
Vendor :
Epic Games
Languages :
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 $ 162.97
Unreal Engine 4 Shaders and Effects Cookbook
$69.99
Blueprints Visual Scripting for Unreal Engine
$65.99
Unreal Engine 4 Game Development Quick Start Guide
$26.99
Total $ 162.97 Stars icon

Table of Contents

9 Chapters
Introduction to Unreal Engine 4 Chevron down icon Chevron up icon
Programming Using Blueprints Chevron down icon Chevron up icon
Adding C++ to a Blueprint Project Chevron down icon Chevron up icon
Creating HUDs and Menus Using UMG Chevron down icon Chevron up icon
Animation Blueprints Chevron down icon Chevron up icon
AI with Behavior Tree and Blackboard Chevron down icon Chevron up icon
Multiplayer Games Chevron down icon Chevron up icon
Optimization, Testing, and Packaging Chevron down icon Chevron up icon
Another Book You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(6 Ratings)
5 star 50%
4 star 33.3%
3 star 0%
2 star 0%
1 star 16.7%
Filter icon Filter
Top Reviews

Filter reviews by




cybereality Aug 31, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Rachel Cordone’s Unreal Engine 4 Game Development Quick Start Guide is the perfect book for people with some programming chops, or users of other engines (like Unity), that want to get up to speed quickly with Unreal. I really liked how the author does not waste time explaining basic things (like what functions or variables are) and jumps to the practical steps for getting things working. Unreal experience is not required at all, though you should have some foundation of how programming works to get the most out of the text.Most of the book is using Blueprints, the built-in visual scripting language of UE4. I’m a huge fan of Blueprints, and visual scripting in general, and you can accomplish many things, even a whole game, without touching C++. However, Rachel does show how to use C++ and interface with Blueprints code (very handy). Within the book, the author explains each step along the way to accomplish various things, along with screenshots of the Blueprints, making everything easy to follow.Some of the topics covered include: the basics of navigating the editor, using variables, functions, events, and creating a Blueprint from scratch. Adding C++ to a Blueprint project. Creating menus and HUDs with UMG, animation, scripting AI, multiplayer, and optimization. Definitely not an exhaustive list, but a good range of information to get a feel for how powerful Unreal is and how to quickly start working with it.So far, I’ve only read maybe a couple other Unreal books, but I think I can say this is the best I’ve seen. While some other books are longer and more in depth, as this one only clocks in at just under 200 pages, I feel like the brevity helps keep things focused. While you’re not creating Grand Theft Auto here, the simple demo built in the book is functional and teaches the basics of how you would make a game in Unreal.This is a case where the title of the book is very apt and honest. This is a “quick start” guide for game developers not familiar with Unreal Engine 4, but maybe that have experience with Unity or some other engine or framework. I think if you are a complete beginner, you might want to read up on basic programming concepts first, though the book is simple enough you could probably just jump in if you really wanted. For people with experience elsewhere, this is perfect to get up to speed with Unreal fast. I can’t recommend this book enough.
Amazon Verified review Amazon
stacie Feb 09, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
My son asked for theirs for Xmas and he needed it for school
Amazon Verified review Amazon
Dr. Glen V Apr 02, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I went from start to finish on this book and feel more than comfortable with the basics of this platform. If I can do it, so can journalists.
Amazon Verified review Amazon
J. Bond Apr 07, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Having read this, and followed it cover to cover, I have to say it did boot strap my thinking and jobbing knowledge around the engine. However, the BOLD and then Courier and then BOLD text style - the literal flow through the instructive steps to follow - was actually quite annoying.The reason for this annoyance is that in some instructions the BOLD text will be the source of an action, in the next line the BOLD will be the target, rather than consistently keeping the BOLD as either sources or targets.And then the navigation steps "in the menu"... "in the context browser"... in the whatever... sometimes these are a little random, the best example I can pick out is around page 89 where you're being introduced to HUD widgets... "Click on the BLUEPRINTS button, and then Click on OPEN LEVEL BLUEPRINT undewrneath"... I literally sat for minutes staring at this, it's a prime example... We've not been told what "BLUEPRINT" source button and never heard of the OPEN LEVEL BLUEPRINT button before.Where was this, well it's in the main menu of the main level editor, the text could have said this, instead it's just this throw away "Click on the BLUEPRINTS button"... where it's been training us over and over for near ehough the prior 88 pages to use the Content Browser BP area as "BLUEPRINTS".It's just frustrating to find your learning derailed by this lack of clarity, the writer knows their stuff, they are clearly extremely familiar with the interface, and in the first chapters whenever some new UI element of the engine editors is introduced they throw in a screen shot, but that fades as the text progresses.It's not a deal breaker, this is a good book, but like with all good things you pick out what stops them being great.I'm up, I'm running, this book helped, it is a good bootstrapper for the engine and editor style.
Amazon Verified review Amazon
Cesar Vidal Romero Jul 11, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Es bueno pero el contenido lo puedes encontrar en los cursos en linea de Unreal Engine
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.