You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's an interesting question, and it might be extremely difficult. We should check the plugins available for Pygame to see if there's an off-the-shelf solution. I suppose at the minimum, we could take a snapshot of the current screen and modify that, but that would probably slow things down a lot more... Not sure it's a good idea.
The original description of this problem was actually talking about how students simply did not understand that they should NEVER move sprites between scenes. I'm thinking that we should add some assertion into the game to make sure that they can't do so.
Make it clear that Sprites don't persist between Scenes. Explain how information is garbage collected when a scene is pushed off the stack.
The text was updated successfully, but these errors were encountered: