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
NZ$35.99 NZ$51.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
NZ$35.99 NZ$51.99
Paperback
NZ$64.99
Subscription
Free Trial
Arrow left icon
Profile Icon John P. Doran Profile Icon Sherif Profile Icon Whittle
Arrow right icon
NZ$35.99 NZ$51.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
NZ$35.99 NZ$51.99
Paperback
NZ$64.99
Subscription
Free Trial
eBook
NZ$35.99 NZ$51.99
Paperback
NZ$64.99
Subscription
Free Trial

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 NZ$7 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 NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 194.97
Hands-On Artificial Intelligence with Unreal Engine
NZ$64.99
Unreal Engine 4 Virtual Reality Projects
NZ$64.99
Unreal Engine 4.x Scripting with C++ Cookbook
NZ$64.99
Total NZ$ 194.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

Most Recent
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
Most Recent

Filter reviews by




Smij Aug 07, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This is a good UE4 reference book for beginners who want to use C++ with UE.I was pleasantly surprised to find it has some recipes for Gameplay Abilities. Nothing in-depth, but a good introduction. There is a missing recipe that is mentioned on page 527 in the "There's more..." section. The recipe "GameplayTags API - attaching GameplayTags to an actor" does not exist in my book. I have the second edition.Also I have not owned my paperback copy for very long (around a couple of months), and binding is already giving out. Whole chunks of pages have come loose from the book.The book is huge (686 pages) and covers many topics, but it cannot cover all topics. Perception AI is not in the book, for example.I find myself opening it often and using it as a reference. If you are a beginner in Unreal Engine, and are wanting to use C++, then this book is a good reference for your library.
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
cookie Feb 12, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This book is more like a Unreal unofficial textbook identifying the definition of the key words which were not properly or never explained in Unreal official documentation. For instance, bcanevertick ='true'. The author describes as a actor tick boolean which is triggers the function in every frame from the constructor actor. This is something which unreal never explains in unreal documentation. This is meant for a quick reference for the immediate looking for quick answer for the logic behind all those key words. My only complaint is the AI chapter is basically pure Blueprint rather than C++. Which of course the book title kinda of misleading.
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
descartes May 02, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I originally didn’t like this book because it is Visual Studio centric and I do game development on a Mac. But there is now a Visual Studio 2019 that runs on a Mac, and you may be able to get it (the professional version) for free based on the size of your group. This book can help you become productive as a C++ Unreal Engine developer fairly quickly. If you develop unreal engine games on a Mac, you’ll need Xcode and probably Visual Studio. The main issue is that the unreal game engine is frequently updated, which causes book examples and tutorials to rapidly go out of date, with
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.