Learning C++ by Building Games with Unreal Engine 4, 2nd Edition

Learning C++ by Building Games with Unreal Engine 4, 2nd Edition Front Cover
3 Reviews
2018-12-27
468 pages

Book Description

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

Key Features

  • Gain foundational knowledge of C++ language and syntax when creating games with UE4
  • Build 2D and 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 () 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

  1. Getting Started with C++17
  2. Variables and Memory
  3. If, Else, and
  4. Looping
  5. Functions and Macros
  6. Objects, Classes, and Inheritance
  7. Memory Allocation
  8. Actors and Pawns
  9. Templates and Commonly-Used Containers
  10. Inventory System and Pickup Items
  11. Monsters
  12. Building Smarter Monsters with Advanced AI
  13. Spell Book
  14. Improving UI Feedback with UMG and Audio
  15. Virtual Reality and Beyond

Book Details

  • Title: Learning C++ by Building Games with Unreal Engine 4, 2nd Edition
  • Author:
  • Length: 468 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2018-12-27
  • ISBN-10: 1788476247
  • ISBN-13: 9781788476249