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

Re: [pygame] Pygame.draw challenge



Hey,

You know how python is "batteries included"

You can generate your sfx and write 'em to file with this:
http://docs.python.org/lib/module-wave.html

Phil


Richard Jones <richardjones@xxxxxxxxxxxxxxxx> wrote:
On Wednesday 14 June 2006 21:37, Simon Wittber wrote:
> On 6/14/06, Sami Hangaslammi wrote:
> > On 6/14/06, Richard Jones wrote:
> > > Create a game in up to 64kbytes of source code using only pygame (and
> > > python stdlib). No additional libraries, no external files (even ones
> > > loaded from a network). That means no PyOpenGL, no PNGs, no OGGs, etc.
> >
> > So does "No additional libraries" rule out Numeric too? Because that
> > would exclude surfarray and sndarray. :-/
>
> Hmm is there any way we can synthesise sound without surfarray? The
> only thing i can think of doing is base64 encoding a tiny ogg or two
> in the source file...

struct


Richard

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com