Pygame

John Roth newsgroups at jhrothjr.com
Wed Apr 14 20:23:40 EDT 2004


"Alexander Rødseth" <alexanro at stud.ntnu.no> wrote in message
news:c5jpkb$6th$1 at orkan.itea.ntnu.no...
> > Why should it be?
>
> Because it's inconsistent that Python includes many platform-specific and
> hardware-specific modules,
> and even gui-modules like Tkinter, but, afaik, no way at all to create
> fullscreen and/or hw-accelerated graphics.
>
>
> > In looking thorough the libarary, I find that
> > everything there is a developer tool of some
> > sort. The few executables are things like
> > unittest which are standard parts of the
> > developer's tool chain.
>
> I agree pretty much with Peter's reply.
> How exactly did you "look through the library"?
> Looking at http://docs.python.org/modindex.html, I find modules for sound,
> xml, graphics, mail, a web-server and even the deprecated and insecure
> "Enigma-like encryption and decryption". :-)

Let's take a look at that. Sound support is on the same level as
the SDL package that Pygame is based on. XML is a developer
tool. Graphics support is pretty weak except for the TK toolkit,
which supports the standard windows paradigm. While not everyone
likes TK, the function is, at least, pretty pervasively needed.

There's a pretty large selection of tools that support internet
protocols, including the mail package you refer to. Etc.

What I don't find is support for specialty application areas.
Games are a specialty application area.

> Python is supposed to be "batteries included", but still hasn't got native
> support for fullscreen graphics.

Pygame is layered on top of SDL, which in turn is layered on
top of Open GL. If the issue is support for full screen 3d graphics,
(which wasn't apparent from your initial post), I would suggest that
either of those would be a better candidate. In fact, I certainly wouldn't
object to including an interface to Open GL.

> Granted, Pygame might not be the optimal solution, due to licensing issues
> (or whatever other reason might appeal to you), but IMHO, there should be
a
> module included that allowed for similar functionality.
>
> - Alexander
>
>





More information about the Python-list mailing list