Book Image

Learning Unreal Engine Game Development

By : Joanna Lee
Book Image

Learning Unreal Engine Game Development

By: Joanna Lee

Overview of this book

Unreal Engine 4 is a powerful game development engine that provides rich functionalities to create 2D and 3D games across multiple platforms. Many people know what a game is and they play games every day, but how many of them know how to create a game? Unreal Engine technology powers hundreds of games, and thousands of individuals have built careers and companies around skills developed using this engine. Learning Unreal Engine 4 Game Development starts with small, simple game ideas and playable projects that you can actually finish. The book first teaches you the basics of using Unreal Engine to create a simple game level. Then, you'll learn how to add details such as actors, animation, effects, and so on to the game. The complexity will increase over the chapters and the examples chosen will help you learn a wide variety of game development techniques. This book aims to equip you with the confidence and skills to design and build your own games using Unreal Engine 4. By the end of this book, you'll have learnt about the entire Unreal suite and know how to successfully create fun, simple games.
Table of Contents (14 chapters)
Learning Unreal Engine Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using Trigger Volume to toggle light on/off (optional)


The following steps can be used to trigger volume to toggle lights on or off:

  1. We need to replace the Set Visibility node in Event Graph. Click and drag the blue dot from Point Light (WalkwayLight) and drop it onto any blank space. This opens up the contextual menu. The following screenshot shows the contextual menu to place a new node from WalkwayLight:

  2. Select Toggle Visibility. This creates an additional new node in Event Graph; we will need to rewire the links as per the following screenshot in order to link OnActorBeginOverlap to Toggle Visibility:

  3. The last step is to delete the Set Visiblity node and we are ready to toggle the light on and off as we move in and out of the room. The following screenshot shows the final Event Graph we want. Compile and play the level to see how you can toggle the light on and off.