[LibGdx] Any tutorials on making a HUD for games :)

Hi! So Im currently trying to make a HUD with a healthbar and a Score string in my game, but I cant find any tutorials on how to do it in LibGdx with Scene2D :frowning: Do you guys know anyone? :slight_smile:

Get a table instance. Set the x, y, height, and width. Use table’s debug feature to make sure the position and size are right in first place. Then after the table done, you can populate it with scene2d.

Well, most huds are basically ‘draw box, draw second smaller box in that box, second box size equals hp over first box size’ or something like that. it’s not very hard. but if you really want to learn, then i would assume that thecherno would probably have the best tutorials. (sorry, but i always seem to tell people to watch these tutorials): https://www.youtube.com/user/TheChernoProject

while i don’t think he’s gone into how to make an hp bar yet, he has already covered everything you need to know in order to make one (pretty much, all you need to cover is the ‘tile’ set of tutorials, then you’ll know everything you need in order to make a hp bar, as for the text thing, i think this might help you: http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/DrawChars.htm