Does the text object have a background color property?
What I have done is place a sprite object of the color desired, then put my text object on top of it. Works fine - just wondered if I missed an easier way.
Develop games in your browser. Powerful, performant & highly capable.
I don't think there is a background color property for the text object, so indeed you'd have to use a sprite or a tiled background