Score disappears after achieving new level (new background)

[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]

Link to the project or level: [replace with link to the curriculum or get the “Share” link to a project]
What I expect to happen: [replace with a detailed description of the behavior you’re trying to create]
What actually happens: [replace with a detailed description of what actually happens when the code runs including any errors or unexpected behavior]
What I’ve tried: [replace with a detailed description of what you’ve already tried to do to solve the problem]

@lfeld,

I think I can help you out here!

The last thing in the draw loop is the drawSprites block. Since the backgrounds you are using are sprites, it is drawing them on top of the score.

If you move the text block that contains the score below the drawSprites block, that should solve your problem as the score will be drawn last (and therefore on top).

Let us know how it goes!

Mike