Any ideas why the scoreboard is not showing once the game is started?
Thanks in advance!
Any ideas why the scoreboard is not showing once the game is started?
Thanks in advance!
Hope you are are doing well. The last block in your draw loop is the “drawSprites()” block. Since your background is a sprite, it is the last thing happening through each iteration of the draw Loop. That background will cover up any text you have created.
The key is to make sure the text is created below the drawSprites() block. In reality, most of the time, the drawSprites block doesn’t have to be last inside the draw loop as long as all of the sprites are created before the draw loop.
I like to put my drawSprites block first, but you can put it somewhere else, too, if you wish.
Good luck!
Mike