Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unreal Engine 4 Game Development Quick Start Guide

You're reading from   Unreal Engine 4 Game Development Quick Start Guide Programming professional 3D games with Unreal Engine 4

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789950687
Length 202 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rachel Cordone Rachel Cordone
Author Profile Icon Rachel Cordone
Rachel Cordone
Arrow right icon
View More author details
Toc

Widget set nodes

With our Get Time Seconds test, we passed the current game time to a widget, but we found that this wasn't very useful. So what if, for Awesome Game, we had a widget on the HUD that let us know how many of our texture spheres were left?

We've finished with the main menu for now, but we'll be coming back to it. Save and close the My Main Menu Widget. In the main editor window, go to the Content Browser's ThirdPersonBP\Maps folder and double-click on ThirdPersonExampleMap to open it. You will need to double-check to make sure that we still have a few of our spheres in the map. If we do not, then go to the ThirdPersonBP\Blueprints folder and drag a few of our Pickup_MaterialSwitcher blueprints onto our level. For this test, it won't matter what material is on them, but you can change them if you prefer.

Now for our widget. We'll be using...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime