[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] OpenGL 2D Game
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] OpenGL 2D Game
- From: David <dvkeeney@xxxxxxxxx>
- Date: Sat, 7 May 2005 14:43:28 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 07 May 2005 15:43:49 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DZwUHqsCsJykU52b+2u7CMLWz4Eg/Ac3plJxXs2iWcCzTfuugJbO2UI7geZABGVU3xlQHtJtqfNsUIBC13MWLYB+SxEhSJ+P2OKLyBGPYqsUKt50kYoON53CFBY+1szJFnBydm7zU4WNT+BDG+WY0zmHgQnaO2AHQHHq2ooxrm8=
- In-reply-to: <4e4a11f8050501032849b907f4@mail.gmail.com>
- References: <Pine.LNX.4.56.0504251149161.17371@twobox.geeky.net> <426D6829.40906@xepher.net> <4e4a11f80504270640127a9ad5@mail.gmail.com> <4e4a11f8050501032849b907f4@mail.gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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