Re: [pygame] Incrementing the frequency of the Pygame.mixer with a Loop?

2009-07-07 Thread Lenard Lindstrom
Hi Brian, You would probably have to do a pygame.quit rather than pygame.mixer.quit for each pass of the loop. The pgyame.display.set_mode must also come after the pygame.init. The display is not necessary for mixer though. Lenard Brian Gryder wrote: ''' How do I change the frequency of th

Re: [pygame] Color slice problem with Python 3

2009-07-07 Thread René Dudfield
Sweet. That works for py3k. Committed revision 2488. cu,

[pygame] Incrementing the frequency of the Pygame.mixer with a Loop?

2009-07-07 Thread Brian Gryder
''' How do I change the frequency of the Pygame.mixer by incrementing the frequency value in a loop? Please see the example below where I am trying to initialize the frequency at 44100 and then add 2000 to the frequency each time it loops. In this example below the pitch does not change, I really

Re: [pygame] 7 failures and 1 error in test suite

2009-07-07 Thread René Dudfield
On Tue, Jul 7, 2009 at 9:28 PM, wrote: > Hi, > > I'm getting the feeling that either there are quite some bugs in the > surface_test code or that I don't get what's going on. > > first I looked at the failing test I mentioned before (~line 104): > >def make_surf(bpp, flags, masks): >p

Re: [pygame] being at pygame-users group without receiving mails in our inbox

2009-07-07 Thread Paulo Silva
thanks, i didn't knew about filters, and how to use them - let's see how fine it works! thanks! :) On 7/7/09, Nirav Patel wrote: > I don't know about using Google Groups, but I see you are using Gmail. > Why not create a filter that adds a List or Pygame label to mailing > list messages, removes

Re: [pygame] being at pygame-users group without receiving mails in our inbox

2009-07-07 Thread Nirav Patel
I don't know about using Google Groups, but I see you are using Gmail. Why not create a filter that adds a List or Pygame label to mailing list messages, removes them from the inbox, and maybe marks them as read? Labels and filters make gmail great for following mailing lists without crowding you

Re: [pygame] sprites in arrays, instead of simple variables

2009-07-07 Thread Paulo Silva
@TyleLaing but do you know where can i find working snippets with sprite groups, like this one i sent? http://pastebin.com/f2b05bf70 (or how sprite group classes can be easily implemented there, if you or someone don't mind... :| ) thanks a lot! :) On 7/7/09, Paulo Silva wrote: > thanks! :) >

Re: [pygame] sprites in arrays, instead of simple variables

2009-07-07 Thread Paulo Silva
thanks! :) On 7/7/09, Tyler Laing wrote: > Hi, > > Take a look at the group classes. This lets you manage the sprites easily. > > http://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Group > > -Tyler > > On Tue, Jul 7, 2009 at 8:55 AM, Paulo Silva wrote: > >> hi! >> recently i coded this hum

[pygame] sprites in arrays instead of

2009-07-07 Thread nitrofurano
hi! recently i coded this humble snipped using sprites from subsurfaces: http://pastebin.com/f2b05bf70 the question is: it seems to be simple working with just 4 different sprites, one in each variable - but when they are hundreds or thousands, this task become to be very boring - can we store spr

[pygame] [patch] minor fix to surface docs

2009-07-07 Thread Lorenz Quack
Hi, here is a minor patch to the surface docs. //Lorenz Index: src/surface.doc === --- src/surface.doc (revision 2482) +++ src/surface.doc (working copy) @@ -28,8 +28,9 @@ Surfaces can have many extra attributes like alph

Re: [pygame] sprites in arrays, instead of simple variables

2009-07-07 Thread Tyler Laing
Hi, Take a look at the group classes. This lets you manage the sprites easily. http://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Group -Tyler On Tue, Jul 7, 2009 at 8:55 AM, Paulo Silva wrote: > hi! > recently i coded this humble snipped using sprites from subsurfaces: > http://pastebi

[pygame] sprites in arrays, instead of simple variables

2009-07-07 Thread Paulo Silva
hi! recently i coded this humble snipped using sprites from subsurfaces: http://pastebin.com/f2b05bf70 the question is: it seems to be simple working with just 4 different sprites, one in each variable - but when they are hundreds or thousands, this task become to be very boring - can we store spr

[pygame] being at pygame-users group without receiving mails in our inbox

2009-07-07 Thread Paulo Silva
Hi! since i used to follow pygame-users mailing list from google groups, is that possible sending messages to there, and not receiving anyone in your mail inbox? if it is, where must we configure, by webpage configuring or mailing list commands? what google groups is awesome is exactly this featu

Re: [pygame] 7 failures and 1 error in test suite

2009-07-07 Thread Lorenz Quack
Update: Patches work fine on my 64-bit machine. d...@amberfisharts.com wrote: Hm... the last attachment didn't make it in. here it is. On Tue, 7 Jul 2009 13:28:18 +0200, wrote: Hi, I'm getting the feeling that either there are quite some bugs in the surface_test code or that I don't get w

Re: [pygame] 7 failures and 1 error in test suite

2009-07-07 Thread don
Hm... the last attachment didn't make it in. here it is. On Tue, 7 Jul 2009 13:28:18 +0200, wrote: > Hi, > > I'm getting the feeling that either there are quite some bugs in the > surface_test code or that I don't get what's going on. > > first I looked at the failing test I mentioned before

Re: [pygame] 7 failures and 1 error in test suite

2009-07-07 Thread don
Hi, I'm getting the feeling that either there are quite some bugs in the surface_test code or that I don't get what's going on. first I looked at the failing test I mentioned before (~line 104): def make_surf(bpp, flags, masks): pygame.Surface((10, 10), flags, bpp, masks) self.f