Background animation/image not working with Changing score


#1

This student wants to use a background animation/image AND show the changing score on top of the background animation/image.
https://studio.code.org/s/csd3-2018/stage/22/puzzle/12?
section_id=1645801&user_id=38805185
We cannot figure out how to “layer” the background animation/image to show the ever changing score.

Another student used a background animation/image. It shows the score but it doesnt change and nothing moves. https://studio.code.org/s/csd3-2018/stage/22/puzzle/12?section_id=1645801&user_id=38805184

How can we get a background image, have the sprites move and show the changing score?


#2

I was having the exact problem this morning and found this other post that cleared up our confusion. check it out and see if it help: 3.22 Score not displaying regardless of sprite order

Basically call the draw score function AFTER you draw the sprites! Simple, but drove us crazy.

All the best,

Roseanna


#3

Hi Jason,

In order for us to see the code, can you click the “Share” button at the top of those pages and paste in the link it gives you? The links you shared just take us to that level, but they don’t let us see the student code.

Thanks,
Elizabeth