I am using a Label to display a score. But I really need to have a different background color. Is there a way to set the Label background color?
Or is there a better way to display a score?
Thanks!
A fast, easy to use, free, and community supported 2D game engine
I am using a Label to display a score. But I really need to have a different background color. Is there a way to set the Label background color?
Or is there a better way to display a score?
Thanks!
You could add a ColorLayer behind the label to simulate one, or a rendered png with something more complex.
Its also recommended to use either LabelAtlas, or BitmapFontAtlas for greater performance over a regular Label. But it depends if your score is updated frequently (if not, a regular Label should do you fine).
You must log in to post.