[pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
I have a new Macbook Pro running 10.6 Snow Leopard and when I run any pygame code that calls pygame.init() it takes literally about 10 seconds to complete the call. Other examples, like "Samegame" are quite elaborate but don't call init() and start up immediately. Any thoughts anyone? I installed

Re: [pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
ons on only the packages you need, i.e. display, mixer, etc. And see if that helps. At the very least, we'll have a better idea of which packages are causing slowdown. On Fri, Aug 26, 2011 at 8:58 AM, John Jameson wrote: > I have a new Macbook Pro running 10.6 Snow Leopard and when I run any p

Re: [pygame] very slow pygame.init() under Snow Leopard

2011-08-26 Thread John Jameson
priority. The main roadblock was making lazy imports >optional. I think I have solved that. > >Lenard Lindstrom > >On 26/08/11 09:46 AM, John Jameson wrote: >> Yes, thanks, this did help on one little program so far. If I knew >> which package(s) were really slow at

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
Hi, I would like an efficient way to generate an animated grey-scale "pixellated" image. For example, to be able to generate an image say of 100 X 100 pixels, where I can specify the size of the image on the screen (which thus determines the size of the pixels). One way would be to treat each pixe

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
of it, it's clearly the way to go. -Christopher On Mon, Oct 24, 2011 at 5:59 PM, John Jameson wrote: > > Hi, > I would like an efficient way to generate an animated grey-scale > "pixellated" image. For example, to be able to generate an image say of > 100 X 100 pixels

Re: [pygame] Fast method for pixellated animation

2011-10-24 Thread John Jameson
. https://bitbucket.org/pygame/pygame/src/dd6752f761be/examples/scroll.py It is packaged with Pygame and can be run with the following command line: python -m pygame.examples.scroll Lenard Lindstrom On Oct 24, 2011, John Jameson wrote: > Thanks ­ I tried this but I'm just learnin

[pygame] no midi

2012-01-04 Thread John Jameson
I have a new Macbook Pro running 10.6 Snow Leopard and when I do: import pygame pygame.init() print pygame.midi.get_count() it says: AttributeError: 'module' object has no attribute 'midi' I've tried it with Macports python 2.6 and 2.7 and darwin's native pythons 2.6 and 2.7. Anyone know

[pygame] no midi

2012-01-04 Thread John Jameson
, Jan 4, 2012 at 5:40 PM, John Jameson wrote: > I have a new Macbook Pro running 10.6 Snow Leopard and when I do: > > import pygame > > pygame.init() > > print pygame.midi.get_count() > > > it says: > AttributeError: 'module' object has no att

[pygame] remove

2014-05-14 Thread John Jameson
Hi - could you take me off your list? Great list though! best, john