Home > Gaming, Programming & scripting, Python > Pygame works rather decent at ps3 :)

Pygame works rather decent at ps3 :)

January 13th, 2007

Got my PS3 today. Decided to try and compile pygame for Yellow Dog Linux since well… it should work. It did :)

Compiling all of the dependencies and the pygame made it possible for me to run stuff at decent speed. Its not exactly fast, but absolutely fast enough to develop graphical user interfaces and small games.
Since python is such a high level language you are of course limited to a single SPE, which isn’t very nice, but well… it works :)
UPDATE: I wrote this line before actually reading anything about the functionality of the CELL. I obviously mean that you are limited to the PPE, and can’t access any SPE.

If people want me to I can write a guide for compiling pygame for PS3, but it’s pretty much the same as compiling it for any other platform… Simply install all dependencies for SDL, then SDL and SDL_mixer, SDL_image and so on and top it all of with pygame.

pygame test

buffi Gaming, Programming & scripting, Python

  1. January 14th, 2007 at 06:22 | #1

    PyGame enables an SPE? What does it use it for? I would expect PyGame to just use the PPE, unless some library was written specially to run in the SPE.

    Can you say more about this?

  2. January 14th, 2007 at 12:08 | #2

    Yes I can :)
    I wrote this before I had read anything about developing for the CELL and I was under the false assumtion that the SPE’s worked as regular cores in a multicore PC.
    You are correct about Python only utilizing the PPE, and not any SPE’s.
    This is of course not optimal, but it works well enough for small games and should be more than enough for GUI’s/frontends for applications.

  3. Nichole Buffi
    January 17th, 2007 at 19:41 | #3

    How do I get in touch with Mr. Buffi?

  4. January 17th, 2007 at 23:56 | #4

    Ill drop you an email.
    Others may email me at bjokem-4@student.ltu.se

  5. March 3rd, 2009 at 16:05 | #5

    Nice, nice, nice. I’m making a Py-Game and currently have a 1 person audience who wants to play it on the PS3 when it’s done, so this is good news. :P

    I’m seeing a bullet hell game on the screen, which means dozens of objects, right? My game should be able to run quite decently then (especially since I’ll be adding a low detail setting)!

    Thanks for this info. You’re #1 on Google search “PyGame PS3″!

  6. Craig
    January 29th, 2010 at 18:19 | #6

    this looks quite interesting! Dont suppose you could give me a guide on how to go about compiling pygame on my ps3 which ive already gt ydl 6.2 installed!

  1. No trackbacks yet.