Book Image

Unreal Engine Game Development Cookbook

By : John P. Doran
Book Image

Unreal Engine Game Development Cookbook

By: John P. Doran

Overview of this book

Table of Contents (18 chapters)
Unreal Engine Game Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding to an existing Blueprint – flashlight, part 2


Now that we have some experience working with Blueprints, let's modify one that's already been created for us. In this section, we will cover how to add a flashlight to our game's character.

Getting ready

Before we start working within the Unreal Editor, we will need to have a project to work with. Follow these steps:

  1. First, open up the Unreal Editor by clicking on the Launch button from the Unreal Engine Launcher.

  2. Start a new project from the Project Browser tab by selecting the New Project tab. Select First person and make sure that With Starter Content is selected. Give the project a Name (Cookbook_Chapter8). Once you are done, click on Create Project.

  3. After the project is opened, go to the Example Code folder and drag and drop the NightScene map provided in your project folder and open it:

    At this point, if you were to play the game, it would be incredibly dark, as shown in the following screenshot:

How to do it…

For those who have gone through...