Book details

  • File Size: 64 MB
  • Format: epub
  • Print Length: 468 pages
  • Publisher: Packt Publishing; 2 edition (December 27, 2018)
  • Publication Date: December 27, 2018
  • Sold by: Amazon Digital Services LLC
  • Language: English
  • ASIN: B07KX4L11L

Create your own games using Unreal Engine 4 while learning the fundamentals of C++ programming

Key Features

Gain foundational knowledge of C++ language and syntax when creating games with UE4
Build 2D and 3D games featuring interactive UIs, game physics, and artificial intelligence(AI)
Discover the latest trends in game development such as virtual reality (VR), augmented reality (AR), and AI

Book Description

Learning to program in C++ requires some serious motivation. Unreal Engine 4 (UE4) is a powerful C++ engine with a range of features used to create exciting games by AAA studios, which makes it an engaging way to get started with exploring C++17.

This book starts by helping you install a code editor so you can begin to write C++17 code. You will then focus on C++ fundamentals such as variables, memory, conditional statements, and looping. Next, you will cover important programming constructs including functions, objects, classes, and inheritance. As you progress, you’ll delve into more advanced C++17 concepts, along with understanding the functionality of the UE4 engine. In the next few chapters, you will use the UE4 editor to create your own virtual world, and even program some seriously fun gameplay. After this, you’ll learn to build game features, along with using AI aspects such as pathfinding and behavior trees to build smart game entities. The concluding chapters will show you how to improve user interface (UI) feedback with Unreal Motion Graphics (UMG) and audio. In this new and updated edition, you’ll also get to grips with the latest VR and AR features available.

By the end of this book, you will have the skills you need to program effectively in C++17.

What you will learn

Learn the basics of C++ and understand basic UE4 editing
Work with the UE4 editor and study the basics of using C++ and Blueprints within the engine
Get up to speed with using basic C++ containers and data structures to store your game data
Create players, non-player characters (NPCs), and monsters
Give game information to users using the UE4 UMG UI system
Gain a basic understanding of how to use procedural programming to give your game more replay value
Discover how UE4 can help you build projects using the latest technologies, such as VR and AR
Who this book is for
If you are passionate about games and have always wanted to create your own virtual world, this book is for you. Prior programming experience is not required.

Table of Contents

Getting Started with C++17
Variables and Memory
If, Else, and Switch
Functions and Macros
Objects, Classes, and Inheritance
Dynamic Memory Allocation
Actors and Pawns
Templates and Commonly-Used Containers
Inventory System and Pickup Items
Building Smarter Monsters with Advanced AI
Spell Book
Improving UI Feedback with UMG and Audio
Virtual Reality and Beyond





Please complete the required fields.