PDA

View Full Version : Using Pygame or Python?


Scoops
2003.06.14, 04:18 PM
A while back I remember reading an article about Python and was really interested in seeing it work. I forgot about it and just recently I stumbled across pygame which, at first sight, seems an ideal dev environment.

So far, I have seen very little about it being used but surely someone here uses it or have used it in the past. I need your opinions, is it a good language to use or am I wasting my time in trying? Bear in mind that any programming I have done so far has been in BASIC so is learning a new language like this going to be a nightmare?

Any comments would be welcome.

Cheers.

OneSadCookie
2003.06.14, 08:39 PM
I have to say, I recommend Ruby over Python. Ruby has SDL bindings which work on the Mac, so PyGame isn't really that big of a deal.

That said, if you want to try PyGame you can get some prebuilt binaries for an old version from the PyGame website. My experience is that it doesn't yet build cleanly from source.

If you're interested in Ruby, I can send you the SDL, OpenGL and 3D Math library bindings and a project which sets everything up.

diordna
2003.06.15, 09:43 AM
What exactly is PyGame? I've played with Python a little, but I've never heard of this.

OneSadCookie
2003.06.15, 04:25 PM
PyGame is Python bindings for SDL, OpenGL, and a couple of other game-related libraries.

Carlos Camacho
2003.06.15, 09:19 PM
OSC, is this soemthing (your stuff) that might be good to host here for others? Providing it isn't 400MB in size. :)

OneSadCookie
2003.06.15, 10:10 PM
There's not really very much there, it's scarcely worth it. All it really is is prebuilt binaries of the freely-available Ruby libraries, and a Project Builder project & main.c file to tie it all together. The libraries weren't terribly difficult to build, the main.c isn't rocket science, it just seems there's not much point in someone doing it again...