In this part, we upgrade the HUD code to incorporate Scene2D labels. It makes it somewhat more complicated, but now the widgets on the HUD will resize and reposition themselves automatically, so it will save us some trouble down the road. If you want to know how to use Scene2D to make a dynamic Heads Up Display, this video will give you the basics.
In this part, we finish displaying the money that the player loots from enemies. Sort off…..We’re actually going to make one more upgrade that will more fully integrate Scene2D and allow us a lot of flexibility and make the position of HUD elements more dynamic.
We need to add some more things to the HUD. In this case, the player can loot money from the dead enemies, so we’re going to start displaying the money the player has collected. This is a two part series