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

Re: [pygame] Display-less PyGame



"Luke Paireepinart" <rabidpoobear@xxxxxxxxx> wrote, in the thread about
the text adventure:

> Since your game doesn't actually use 'pygame,' as it's a text game

This touches on a side note - not really a feature request, because I know
some of the reasons why it is the way it is, but I'm a little sad that
PyGame (really, SDL, and DirectSound, and DirectInput and so on...) does
require a graphical window and isn't a good option for a text-only game.

Supposing I wanted to use the pygame.mixer module to play music behind my
text adventure game [http://www.ifarchive.org/].

Or, supposing I wanted to use the pygame joystick support to drive a
text-mode graphics game [similar to: http://www.taat.fi/tmdc/].


Perhaps a little bit more practical - just yesterday, I was experimenting
with code I was writing for a dynamic music system. I wanted to do some
unit testing (imagine!) of the system, so I had no real need for graphics.
But pygame.mixer requires that there be a window (again, I understand the
lower-level reasons why this is).


I suppose I mention this mostly because I think it would be nice if there
was a way to use the sound, music, and input pieces of PyGame without
using the display pieces. I'm not in any particular hurry for this,
myself, otherwise, I'd launch into it alone. However, if there are any
other like-minded folks out there, I'd be happy to chat - either here or
in private email.


Come on, you know you want to write Zork Zork Revolution.


-Dave LeCompte