[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] OpenGL 2D Game



Simon:

The pygame package is cool;  I have been thinking of writing such a
module myself.

Technical query:
Was there a specific reason that you chose to wrap the surface class
(using __getattr__ and getattr) rather than subclassing using
inheritance?

David

On 5/1/05, Simon Wittber <simonwittber@xxxxxxxxx> wrote:
> I've made things much more simple.
> 
> All you have to do now is:
> 
> import pygame_gl
> 
> When you import pygame_gl, it decorates and overrides the normal
> pygame methods so that OpenGL stuff happens behind the scenes, without
> the need for any OpenGL knowhow. Most things should still work as
> expected.
> 
> Get it from: http://developer.berlios.de/project/showfiles.php?group_id=2847&release_id=5636
> 
> It's the pygame_gl package.
> 
> Sw.
> 


-- 
dkeeney@xxxxxxxxxxxxxxxx
Pitcher's Duel -> pduel.sourceforge.net