Making a RTS game #6: Improving the UI (Unity/C#)
On with our RTS game! Today, we’ll focus back on our UI…
⬅️ Tutorial #5: Transforming our data into Scriptable Objects | TOC | Tutorial #7: Polymorphism, take 2! ➡️
📕 Get the ebook and bonus material on Gumroad!
🚀 Find the code of this tutorial series on my Github!
The last tutorial on Scriptable Objects was fairly abstract.
Let’s shift gears and focus on something more visual, for a change: we’re going to improve the UI system we started earlier in this series by adding two features:
- whenever we select one or more units, we want their healthpoints to be displayed with floating healthbars
- also, we want to show some info on the currently selected units in a dedicated panel
Adding healthbars on selected units
In a previous tutorial, we implemented the selection mechanism. The goal of this new healthbar feature is, among other things, to provide additional info on the targeted units.
Fancy a quick mouth-watering teaser? ;)