Re: [pygame] Testing pygame 1.8rc4 on PPC build (was: Mac OS X Rosetta (PPC))

2008-03-05 Thread Casey Duncan
On Mar 4, 2008, at 11:58 PM, René Dudfield wrote: ah, thanks heaps. I think I know how to fix that problem. I don't think the png, and jpeg libraries were compiled as universal binaries. I'll try it again... tomorrow. But in the mean time, are you able to try these builds from the compile

Re: [pygame] Testing pygame 1.8rc4 on PPC build (was: Mac OS X Rosetta (PPC))

2008-03-05 Thread René Dudfield
cool :) Thanks again. On Wed, Mar 5, 2008 at 7:40 PM, Casey Duncan [EMAIL PROTECTED] wrote: On Mar 4, 2008, at 11:58 PM, René Dudfield wrote: ah, thanks heaps. I think I know how to fix that problem. I don't think the png, and jpeg libraries were compiled as universal binaries.

RE: [pygame] how to display pygame graphics within a wxpython window

2008-03-05 Thread Sibtey Mehdi
Ok, but is there any way to tell PyGame to paint any window, I mean by passing the window handle to pygame. hi, Using pygame with wxpython is not supported. See this page for details: http://www.pygame.org/wiki/Gui cheers, On Wed, Mar 5, 2008 at 4:01 PM, Sibtey Mehdi

[pygame] PGU doesn't work when installed?

2008-03-05 Thread Gary Bishop
Phil's pygame utilities work fine from the current directory but fails after python setup.py install. I get: cannot import name text. This is python 2.5.1 on Ubuntu. Is this a known problem? Thanks gb

Re: [pygame] how to display pygame graphics within a wxpython window

2008-03-05 Thread Joan Planas Illas
En/na Sibtey Mehdi ha escrit: Ok, but is there any way to tell PyGame to paint any window, I mean by passing the window handle to pygame. Try this: os.environ['SDL_WINDOWID'] = window_id -- Joan Planas Illas Dpto I+D | RD department [EMAIL PROTECTED] Skype id: joanplanaspv

Re: [pygame] how to display pygame graphics within a wxpython window

2008-03-05 Thread Brian Fisher
motherhamster doesn't integrate with wx in the way the poster is asking about - it puts seperate top level wx windows in the same process as the pygame window by either sharing the main message pump with yield calls or by spawning a new thread for the wx's loop. Also, the motherhamster approach

Re: [pygame] how to display pygame graphics within a wxpython window

2008-03-05 Thread Brian Fisher
The integration sample (at the bottom of the page link below) you mentioned in your original post demonstrates the pygame/SDL paint in any window feature (see the SDLPanel class) http://wiki.wxpython.org/IntegratingPyGame Even though that sample makes two windows (a top-level frame with a child

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-05 Thread Lenard Lindstrom
AlgoMantra wrote: That's like saying that an ocean liner isn't a ship because it wouldn't be able to get off the ground into the sea by itself. It has the body of a lion, and the head of a lion, but does that, in fact, make it a lion? ----.- 1/f ))) --.

Re: [pygame] BUG: crafted pygame input can cause segfault

2008-03-05 Thread René Dudfield
hello, This is a pymedia, and or vnc2swf bug. It's been updated on ubuntu to state so. cheers, On Fri, Nov 30, 2007 at 10:13 PM, Kristian Erik Hermansen [EMAIL PROTECTED] wrote: I filed a bug with Ubuntu, so I will just link you to there.

Re: [pygame] BUG: audio channels reversed in 8-bit

2008-03-05 Thread René Dudfield
Hi, I've added a work around in subversion r1143. So it works correctly now... I'm 99% sure this is a bug in SDL_mixer, so a proper fix needs to go in there. Need to report it to the SDL bug tracker. On Mon, Jun 18, 2007 at 9:08 AM, Will McGugan [EMAIL PROTECTED] wrote: René Dudfield

Re: [pygame] pygame.org website update

2008-03-05 Thread Ian Mallett
Is it just me, or does the spotlight show only two projects? I think it has been this way since forever...

Re: [pygame] pygame.org website update

2008-03-05 Thread PyMike
Yeah. Pretty random. It should have more games in it :) Not necessarily from the pyweek competition On Wed, Mar 5, 2008 at 4:29 PM, Ian Mallett [EMAIL PROTECTED] wrote: Is it just me, or does the spotlight show only two projects? I think it has been this way since forever... -- - PyMike

Re: [pygame] Announce: pygame 1.8.0rc4 tar ball.

2008-03-05 Thread René Dudfield
Why can't it use the other naming scheme again? On Thu, Mar 6, 2008 at 10:16 AM, Lenard Lindstrom [EMAIL PROTECTED] wrote: I suggest calling the release 1.8.0a1 or 1.8.0b1 or something so it works nicely with the msi installer on Windows. Lenard René Dudfield wrote: hi all,

Re: [pygame] Announce: pygame 1.8.0rc4 tar ball.

2008-03-05 Thread Lenard Lindstrom
The msi installer actually uses the version number to decide if a file should be replaced. Of course Microsoft uses a specific numbering scheme. So the msi installer builder in Python 2.5 distutils must translate the version number in setup.py. It can handle a's and b's but has no clue what to

[pygame] Choosing an installer format for Windows (and Vista questions)

2008-03-05 Thread Lenard Lindstrom
On Windows the Python 2.5 distutils package can build two kinds of installer, the traditional Python installer executable and the newer Windows (msi) installer. It seems redundant to provide both kinds of installer so I wonder if there is a preference. I understand Vista has problems with the

[pygame] get_wm_info on linux

2008-03-05 Thread Patrick Mullen
I am embedding ogre in a pygame window, which is working fine on windows, but on linux ogre needs not only the window handle, but also a display pointer and screen id. Fortunately, pygame.display.get_wm_info() returns a display field, and the screen id I assume is just zero. Unfortunately, the

[pygame] Pixel Spaceships

2008-03-05 Thread Kris Schnee
Nick Moffitt wrote: René Dudfield: I like space ships. I made some fun Pixel Spaceships: http://zork.net/~nick/pixel/blackspace.py They're based on http://www.davebollinger.com/works/pixelspaceships/ Fun little exercise. Here's my version of the ship generator, attached.

Re: [pygame] Pixel Spaceships

2008-03-05 Thread Ian Mallett
On Wed, Mar 5, 2008 at 11:31 PM, Kris Schnee [EMAIL PROTECTED] wrote: I tried rotating a ship to build a list of rotated images, but the rotated versions are often larger than the original, making it hard to figure out where to place them. How can that problem be addressed? You shouldn't