My students are working on Lesson 28- Design a game, which calls for three different backgrounds. In the lessons leading up to this, the backgrounds were just using colors from the draw menu. But my students want to use different background sprites instead.
How can they use different background sprites that don’t cover everything else when the score gets to a certain amount, or when a sprite touches another sprite?
Background sprites are just sprites on the screen that are coded first at the top of the program so that they appear behind the other sprites. Sprites coded last appear in front of other sprites.
I recently made this sample program that uses different backgrounds that change with a timer. Seeing the code may help you to see how you can create one sprite called “bg” and then just change the animation associated with the sprite to change the background.