I'm trying to use fonts in a game I'm making but I'm getting a null pointer exception in my main batch loop.
I setup the font with:
then in lg_create:
in lg_render I then call:
I setup the font with:
B4X:
Dim bitmapfont As lgBitmapFont
B4X:
bitmapfont.Initialize
bitmapfont.SetColorRGBA(0, 0, 0, 1) 'Blue
B4X:
bitmapfont.Draw(Batch,"Score",50%x,50%y)