Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene Transition Example #48

Open
acbart opened this issue Apr 18, 2014 · 2 comments
Open

Scene Transition Example #48

acbart opened this issue Apr 18, 2014 · 2 comments

Comments

@acbart
Copy link
Member

acbart commented Apr 18, 2014

Make it clear that Sprites don't persist between Scenes. Explain how information is garbage collected when a scene is pushed off the stack.

@icarito
Copy link
Contributor

icarito commented May 6, 2014

how to go about to make a transition effect? check out http://www.renpy.org/doc/html/transitions.html for some cool examples!

@acbart
Copy link
Member Author

acbart commented Dec 29, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants