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.x Scripting with C++ Cookbook
Unreal Engine 4.x Scripting with C++ Cookbook

Unreal Engine 4.x Scripting with C++ Cookbook: Develop quality game components and solve scripting problems with the power of C++ and UE4 , Second Edition

Arrow left icon
Profile Icon John P. Doran Profile Icon Sherif Profile Icon Whittle
Arrow right icon
$20.98 $29.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (10 Ratings)
eBook Mar 2019 708 pages 2nd Edition
eBook
$20.98 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon John P. Doran Profile Icon Sherif Profile Icon Whittle
Arrow right icon
$20.98 $29.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (10 Ratings)
eBook Mar 2019 708 pages 2nd Edition
eBook
$20.98 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$20.98 $29.99
Paperback
$43.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
Table of content icon View table of contents Preview book icon Preview Book

Unreal Engine 4.x Scripting with C++ Cookbook

Left arrow icon Right arrow icon

Key benefits

  • Build captivating multiplayer games using Unreal Engine and C++
  • Incorporate existing C++ libraries into your game to add extra functionality such as hardware integration
  • Practical solutions for memory management, error handling, inputs, and collision for your game codebase

Description

Unreal Engine 4 (UE4) is a popular and award-winning game engine that powers some of the most popular games. A truly powerful tool for game development, there has never been a better time to use it for both commercial and independent projects. With more than 100 recipes, this book shows how to unleash the power of C++ while developing games with Unreal Engine. This book takes you on a journey to jumpstart your C++ and UE4 development skills. You will start off by setting up UE4 for C++ development and learn how to work with Visual Studio, a popular code editor. You will learn how to create C++ classes and structs the Unreal way. This will be followed by exploring memory management, smart pointers, and debugging your code. You will then learn how to make your own Actors and Components through code and how to handle input and collision events. You will also get exposure to many elements of game development including creating user interfaces, artificial intelligence, and writing code with networked play in mind. You will also learn how to add on to the Unreal Editor itself. With a range of task-oriented recipes, this book provides actionable information about writing code for games with UE4 using C++. By the end of the book, you will be empowered to become a top-notch developer with UE4 using C++ as your scripting language!

Who is this book for?

If you are really passionate game developer looking for solutions to common scripting problems, then this is the book for you. Understanding of the fundamentals of game design and C++ is expected to get the most from this book.

What you will learn

  • Create C++ classes and structs that integrate well with UE4 and the Blueprints editor
  • Discover how to work with various APIs that Unreal Engine already contains
  • Utilize advanced concepts such as events, delegates, and interfaces in your UE4 projects
  • Build user interfaces using Canvas and UMG through C++
  • Extend the Unreal Editor by creating custom windows and editors
  • Implement AI tasks and services using C++, Blackboard, and Behavior Trees
  • Write C++ code with networking in mind and replicate properties and functions

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 29, 2019
Length: 708 pages
Edition : 2nd
Language : English
ISBN-13 : 9781789803372
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

Product Details

Publication date : Mar 29, 2019
Length: 708 pages
Edition : 2nd
Language : English
ISBN-13 : 9781789803372
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 $ 131.97
Hands-On Artificial Intelligence with Unreal Engine
$43.99
Unreal Engine 4 Virtual Reality Projects
$43.99
Unreal Engine 4.x Scripting with C++ Cookbook
$43.99
Total $ 131.97 Stars icon

Table of Contents

15 Chapters
UE4 Development Tools Chevron down icon Chevron up icon
Creating Classes Chevron down icon Chevron up icon
Memory Management, Smart Pointers, and Debugging Chevron down icon Chevron up icon
Actors and Components Chevron down icon Chevron up icon
Handling Events and Delegates Chevron down icon Chevron up icon
Input and Collision Chevron down icon Chevron up icon
Communication Between Classes and Interfaces: Part I Chevron down icon Chevron up icon
Communication Between Classes and Interfaces: Part II Chevron down icon Chevron up icon
Integrating C++ and the Unreal Editor: Part I Chevron down icon Chevron up icon
Integrating C++ and the Unreal Editor: Part II Chevron down icon Chevron up icon
Working with UE4 APIs Chevron down icon Chevron up icon
Multiplayer Networking in UE4 Chevron down icon Chevron up icon
AI for Controlling NPCs Chevron down icon Chevron up icon
User Interfaces - UI and UMG Chevron down icon Chevron up icon
Other Books 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 Half star icon 4.1
(10 Ratings)
5 star 40%
4 star 50%
3 star 0%
2 star 0%
1 star 10%
Filter icon Filter
Top Reviews

Filter reviews by




Jamell Jul 18, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
It touches on enough of everything to go from no knowledge to programmer. Very easy to follw and understand. Well done.
Amazon Verified review Amazon
Amazon Customer Jan 21, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I normally don't review amazon books, but I'm making an exception for this one. John P Doran has become by far my favourite resource for looking up code examples on features that need to be developed in my game. I was a bit put off by this book initially based off the reviews it got, but I assure you the information he talks about in this book are as relevant today as they were 3 years ago. there are some functions he uses that are deprecated. but if you search the function name it will be easy to find updated function call. The way the authors structure the book is they first give you the source code then explain each function call and why it's being used in this way. Most of the time I have to read the unreal engine source code to get the features I need implemented in C++ and I promise you this book is an excellent complement to that way of learning/working. From experience a lot of ue4 books who don't want to get tangled in advance ue4 features will choose to exclude the topic all together. That is not the case with this book. I have been searching for weeks on a code resource to understand slate programming " Styling, associated delegates, loading custom assets" and this was the only book that actually put in a good amount of effort explaining those topics. this book will give you a proper direction of what part of the UE4 source code actually matter to you and how the source code can be used to create your custom features.
Amazon Verified review Amazon
deusprogrammer Aug 09, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
What this book is: a collection of code snippets explaining how to do several useful/vital operations using C++ in UE4.What this book isn't: a tutorial.This book gave me exactly what I needed. I learned enough about UE4 to be dangerous with it, and I already knew C++. I wanted to learn how to put those two concepts together so I could use UE4 the way a programmer wants to use it. Excellent book.
Amazon Verified review Amazon
Kindle Customer Jan 25, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Best book for starting with Unreal cpp programming! you need to have basic knowledge about c++ for this book.
Amazon Verified review Amazon
Mattias Persson Mar 08, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This is a good programming guide to the various C++ features of the Unreal Engine 4.x.In order to make good use of this book you need some knowledge of C++, or at least programming in general, and of the engine. People who have given this book a very low score probably lacked one or both.I know programming but come from C#. I have a moderate knowledge of the engine. I found this book one of several useful tools to get into C++ for Unreal Engine.People mention YouTube tutorials. Problem with them is that you have no control of the skill of the tutor.
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.