Hrh
I've now written a simple pygame line-writer, so that I can get the lazy programmer benefits of a text-based game in a pygame window (also to make the events thing fire properly without having to use either a graphical interface or pure console).
Also, I noticed the music mixer (which I'm using to crank out silly disco songs while the game plays) was repeatedly static-ing up on Ubuntu, so I googled and found a fix; however, it was in the copy-and-paste form of pygame.mixer.pre_init(44100, -16, 2, 4096) I hope this is within the rules! D=
(log in to comment)
RB[0] on 2008/09/08 18:52:
That is fine I think :) Not like you are copying entire sections of code - just an example of how to use a pygame lib - you can find a similar line somewhere on pygame.org as well :)