Re: [pygame] vista testing...

2008-02-15 Thread Brian Fisher
There's an command line mt.exe tool by microsoft that does it - I think it comes with either the .NET or the Platform SDK, but I'm not sure. You just create an xml manifest file with the right requestedExecutionLevel, then run mt -manifest with some args or something like that. all it does is embed

Re: [pygame] vista testing...

2008-02-15 Thread René Dudfield
ah, cool. Here's a couple of links from a search for more info: http://channel9.msdn.com/Showpost.aspx?postid=211271 http://channel9.msdn.com/Showpost.aspx?postid=209647 http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=463884&SiteID=1 I think it should be fairly straight forward... but I can

Re: [pygame] vista testing...

2008-02-15 Thread Brian Fisher
On Vista if a program doesn't have a "manifest" that tells Vista whether it wants to ask for permissions or not, the default behavior is for Vista to let it think that it is writing and doing a bunch of things that would affect all users on XP, but virtualize them in a way that is per user (and can

[pygame] Re: vista testing...

2008-02-15 Thread René Dudfield
Note, that other distutils created installers have these issues on vista too... like PIL etc. cu, On Feb 16, 2008 11:17 AM, René Dudfield <[EMAIL PROTECTED]> wrote: > Hi, > > I've just started testing the latest pygame build on vista basic. > > - python 2.5 requires a restart of the computer afte

[pygame] vista testing...

2008-02-15 Thread René Dudfield
Hi, I've just started testing the latest pygame build on vista basic. - python 2.5 requires a restart of the computer after installing!!! ouch. - the pygame installer brings up a bunch of messages about things it can't do... but then manages to install ok. I think it's trying to do things like

[pygame] PATCH: bug in pygame.image.frombuffer

2008-02-15 Thread Alistair Buxton
Hi, Found a problem with pygame.image.frombuffer and 8 bit images. The call to SDL_CreateRGBSurfaceFrom uses incorrect pitch, which causes the image to be be corrupted. pygame.image.fromstring does not have this problem so you can use that instead as a workaround. The bug is present in latest subv

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread René Dudfield
Yeah png saving is supported now... as well as .jpg saving. It requires SDL_image, libpng and libjpeg to be installed - but all linux packages, as well as mac osx, and windows packages come with it compiled in. On Sat, Feb 16, 2008 at 3:57 AM, Brian Fisher <[EMAIL PROTECTED]> wrote: > On Fri, F

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread Marcus von Appen
On, Fri Feb 15, 2008, Lenard Lindstrom wrote: > Yes. I was looking at sound_array_demo.py for instance. It imports Numeric > as well as pygame.sndarray. But what if I wanted it to use either Numeric > or numpy, depending on which one is available. sndarray already chooses an > array package whe

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread Lenard Lindstrom
Brian Fisher wrote: On Fri, Feb 15, 2008 at 6:31 AM, kschnee <[EMAIL PROTECTED]> wrote: Again, how about "native" PNG image saving? It's awkward to require an extra module just for that, and it's a more standard format than TGA or even BMP. I believe that's already in 1.8 It is.

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread Lenard Lindstrom
Yes. I was looking at sound_array_demo.py for instance. It imports Numeric as well as pygame.sndarray. But what if I wanted it to use either Numeric or numpy, depending on which one is available. sndarray already chooses an array package when imported. Why repeat what sndarray has already done.

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread Brian Fisher
On Fri, Feb 15, 2008 at 6:31 AM, kschnee <[EMAIL PROTECTED]> wrote: > Again, how about "native" PNG image saving? It's awkward to require an > extra module just for that, and it's a more standard format than TGA or > even BMP. > I believe that's already in 1.8

Re: [pygame] how to display a string ?

2008-02-15 Thread Ian Mallett
Do you mean like drawing a "string" like "abcdefghijklmnopqrstuvwxyz" onto a quad? If so, you'll want to use texture-mapping. NeHe tutorial #6.

Re: [pygame] Help

2008-02-15 Thread altern
kschnee(e)k dio: On Fri, 15 Feb 2008 15:23:53 +0200, "Jason Ward" <[EMAIL PROTECTED]> wrote: btw Mirra is a 2D library, forgot to mention that. Since Mirra is 2D, what exactly does it do that Pygame doesn't? I can see doing a 2D tiled landscape like I'm already doing in Pygame, but having, say

Re: [pygame] Help

2008-02-15 Thread kschnee
On Fri, 15 Feb 2008 15:23:53 +0200, "Jason Ward" <[EMAIL PROTECTED]> wrote: > btw Mirra is a 2D library, forgot to mention that. Since Mirra is 2D, what exactly does it do that Pygame doesn't? I can see doing a 2D tiled landscape like I'm already doing in Pygame, but having, say, dynamic lighting.

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread kschnee
>> René Dudfield wrote: >>> Hello, >>> >>> I think it's about time to freeze pygame for release. >>> >>> This means we stop adding in features, and make an RC4 release soon >>> for testing, and bug fixes only. >>> >>> So we'll create some binaries for windows, and mac, and release a >>> source t

Re: [pygame] Help

2008-02-15 Thread Jason Ward
btw Mirra is a 2D library, forgot to mention that.

Re: [pygame] Help

2008-02-15 Thread Jason Ward
There is something called Mirra. it uses opengl for hardware rendering etc. You can find it here http://www.pygame.org/project/117/ I tried it out a long time ago. it was pretty good IMHO. And not very hard to use. But pygame already handles 2D graphics and it is relatively fast. Depending on wha

[pygame] how to display a string ?

2008-02-15 Thread Sibtey Mehdi
Hi All I am drawing the rectangles using pyOpenGl and pygame and want to display some string over the rectangles with different color. I have gone through the pyOpenGl references but couldn't get the way. Any one knows about the tutorial then help me out. Thanks. Sibtey

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread René Dudfield
I think he means to find out which array type is being used? On Fri, Feb 15, 2008 at 7:04 PM, Marcus von Appen <[EMAIL PROTECTED]> wrote: > > On, Fri Feb 15, 2008, Lenard Lindstrom wrote: > > > René Dudfield wrote: > >> Hello, > >> > >> I think it's about time to freeze pygame for release. >

Re: [pygame] pygame, almost release freeze...

2008-02-15 Thread Marcus von Appen
On, Fri Feb 15, 2008, Lenard Lindstrom wrote: > René Dudfield wrote: >> Hello, >> >> I think it's about time to freeze pygame for release. >> >> This means we stop adding in features, and make an RC4 release soon >> for testing, and bug fixes only. >> >> So we'll create some binaries for window