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

Re: [pygame] Accelerated 2D Graphics for Pygame



On Sep 21, 2004, at 7:02 AM, Simon Wittber wrote:

I've been working on a package (LGT) which provides easy to use 2D
graphic functions which are hardware accelerated. The modules use the
pygame and pyopengl modules.
So far, this seems very cool! I'm all in favor of a nice MVC layer on top of pygame and pyopengl... The fact that you're already working on such a thing will surely save me time in the future! :) What sort of license will this have, etc?

I'm looking for feedback on the _usability_ of the library from the
coders point of view. eg, the sprite class requires a scale argument
to even show up on the screen, is this a good idea?

Is a virtual, constant co-ordinate system a pain? Would you rather
think about things as X pixels wide?

Maybe the default should be to make image pixels == screen pixels? That way the user could specify a scale if they wanted to, or just leave it if they want a 1:1 correspondence.


Note: your tutorial.py is lacking a call to LGT.init(), so it craps out on Mac OS X (don't know what happens on other platforms) unless that's added.

//jack