Time for another post where I share my experiences learning the Unreal Game Engine. Today's topic of focus is UI - How to make them and how to use them.
As always, if you want to follow along with the same tutorial that I'm using, you can find it here.
The two major UI elements that I created with the tutorial are the score counter on the left and the timer on the right. In doing so, I learned how to:
Use the UMG UI Designer
Create different types of widgets
Set anchors
Display the HUD in-game
Create Blueprint functions
Dynamically update widgets
Set bindings
Those last two are the critical ones.
The score counter widget only gets updated when the player collects one of the falling shapes
The timer widget is bound to the value of an actual timer in the code that gets updated every frame.
Orange you glad it's not another banana?
Comments