Book Image

Learning Unreal Engine Android Game Development

By : Nitish Misra
Book Image

Learning Unreal Engine Android Game Development

By: Nitish Misra

Overview of this book

<p>Have you ever wanted to create games that will get users hooked to their phones? Unreal Engine 4, with all its tools and power, will help make your dreams come true! Designed to get you working with Unreal Engine 4 from the very first page, this book will quickly guide you through the basics in the first two chapters. Once you get the hang of things, we will start developing our game—Bloques!</p> <p>Bloques is a puzzle game with four rooms. Each room will be more challenging than the previous, and as you develop, you will graduate from movement and character control to AI and spawning. Once you've created the game, you will learn how to port and publish your game to the Google Play Store.</p> <p>In addition to building an Android game from start to finish, you will also discover how to generate revenue, and how to optimize game performance using the tools and functionalities the engine provides. With this book, you will be inspired to come up with your own great ideas for your future game development projects.</p>
Table of Contents (15 chapters)
Learning Unreal Engine Android Game Development
About the Author
About the Reviewers

How Blueprint works

Scripting in Blueprint is similar to creating a flowchart. At your disposal are various nodes, which you can connect to create an action sequence. In order to properly script in Blueprint, you should first know the logic behind the desired sequence. For example, say you want to implement a lamp that is switched on when you go near it and switched off when you move away from it. In such a case, you would first place a trigger around the lamp. Then, the logic behind this would be:

  1. If the player is overlapping the trigger, the light will be switched on.

  2. If the player is not overlapping the trigger, the light will be switched off.

Now that we have figured out how to carry out this action, we can proceed to set up our nodes. Say your setup looks something like this:

When the character walks into the box trigger, the ceiling light (the spotlight) is switched on. The Blueprint to toggle the light on/off will look something like this:

There are various types of nodes that you should...