One of my students has some questions re the active scene. He has provided link and screenshots.
Problem 1: Whenever my main sprite (SpaceShip) gets hit by an alien, I intend for my code to switch to an end screen, however, the two backgrounds instead flicker between each other. My guess is that although not visible, the other “Alien” sprites continue to function and trigger the command, but I still don’t know how to fix the issue. I tried using commands like a sprite. pause, but even then the problem prevails.
Problem 2: In my code I intend to have a score that increases over time due to a player’s survivability, basically meaning that the score increases as it runs. I tried searching for something I could add but was unsuccessful. Could anyone give any suggestions?