Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Blueprints Visual Scripting for Unreal Engine

You're reading from   Blueprints Visual Scripting for Unreal Engine The faster way to build games using UE4 Blueprints

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781789347067
Length 380 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Marcos Romero Marcos Romero
Author Profile Icon Marcos Romero
Marcos Romero
Brenden Sewell Brenden Sewell
Author Profile Icon Brenden Sewell
Brenden Sewell
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: Blueprint Fundamentals
2. Exploring the Blueprint Editor FREE CHAPTER 3. Programming with Blueprints 4. Actors and the Gameplay Framework 5. Understanding Blueprint Communication 6. Section 2: Developing a Game
7. Object Interaction with Blueprints 8. Enhancing Player Abilities 9. Creating Screen UI Elements 10. Creating Constraints and Gameplay Objectives 11. Section 3: Enhancing the Game
12. Building Smart Enemies with Artificial Intelligence 13. Upgrading the AI Enemies 14. Game States and Applying the Finishing Touches 15. Building and Publishing 16. Section 4: Advanced Blueprints
17. Data Structures and Flow Control 18. Math and Trace Nodes 19. Blueprints Tips 20. Introduction to VR Development 21. Other Books You May Enjoy

Creating simple UI meters with UMG

The creation of UI elements is done in the UMG, which is a visual UI authoring tool. We can use the UMG to create a menu and game Heads-Up Display (HUD). A HUD is a kind of transparent display that provides information without requiring the user to look away. We want to show meters on the HUD with the amounts of health, stamina, and ammo the player currently possesses. These meters that appear on the HUD are known as UI meters.

To create a HUD that will display the UI meters for health, stamina, and ammo, we will first need to create variables within the player character that can track these values. Before doing so, ensure that the box labeled Instance Editable is checked so that other Blueprints and objects can manipulate the variables. When a variable is made editable, it will be shown with a yellow open eye symbol next to its name in the Variables...

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