One of my students is having issues with his showScore function and it not showing up on his game. Can anyone take a look at this game and help us understand why the score is not showing up? Variable was created before draw loop, function is created outside draw loop, and function is called in the draw loop. Thanks in advance!
first off the drawSprites() is drawing over your current text which is being drawn first, put it after drawSprites() then adjust your text to be like this
text("Score:" + Score, 10, 50)
hope this resolves your issue