The file I used is png. The font is supposed to be yellow but it appears black and blue when the instance is created. Besides the colour, the rest of the functions are correct
Develop games in your browser. Powerful, performant & highly capable.
The colour of your spritefont is set in the properties.