Background not changing with score

We cannot figure out why the background is not changing when the score >50

@langilla1 ,

I must admit I was stumped for a minute, but then i caught the error …

Your student’s project uses two different sprites for drawing the background rather than using a single sprite and changing that single sprite’s animation (costume). So although the code does change the bg1 animation to the desired image, bg2 is still being drawn right after bg1 and is covering it up.

So, I would suggest deleting bg1 completely and only using bg2. Then, make sure bg2 changes costumes (instead of bg1) and you should be good to go.

If this doesn’t make sense, feel free to check back in!

Mike

1 Like

Perfect-thank you very much!