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

Better support for creating your own surfaces #71

Open
lordmauve opened this Issue Mar 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@lordmauve
Owner

lordmauve commented Mar 2, 2018

In lordmauve/snowgame we encountered several places where we needed to bypass Pygame Zero's APIs in order to create new surfaces, blit actors to them, and set pixels.

In some ways it was always intended that you could directly access Pygame, but I was surprised at how little Pygame Zero functionality could be used once you do.

For example, it would be useful if Actors could take a surface that they were attached to as a parameter, and optionally have it overridden in Actor.draw().

It would be useful to wrap new "Screen" objects around newly created surfaces.

It would be useful to be able to create a "Screen buffer" by copying the dimensions of a screen.

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