Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Better support for creating your own surfaces #71
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.