Skip to main content
GameDev.net gamedev.net
🔒 Locked

Pygame vs Pyglet vs ?

Started by The Communist Duck Feb 23, 2011 at 4:30 PM 5 replies 6.6k views
Original Post
The Communist Duck
The Communist Duck
I'm still thinking about which library to use for my python game.

Pygame seems to be more game oriented, but it does have the C bindings, which don't make it amazingly nice IMHO.
Pyglet seems to be more pythonic/pure python, and definitely openGL rather than a software renderer like SDL (?). However, it seems to be inactive(last update Jan '10).

Are there any other python libraries I should look into?

Thanks!
SiCrane
SiCrane
Inactive isn't quite the right word for pyglet. They don't produce numbered releases very often, but the code base is updated regularly. If you use hg to browse their repository, you'll see the last update was actually only six days ago.
The Communist Duck
The Communist Duck

Inactive isn't quite the right word for pyglet. They don't produce numbered releases very often, but the code base is updated regularly. If you use hg to browse their repository, you'll see the last update was actually only six days ago.


Oh, I see. I didn't think to check those sorts of things.
LorenzoGatti
LorenzoGatti
My experience with Pyglet isn't particularly recent, but I remember bad audio latency and no joystick support. Basically, Pyglet is good at OpenGL and Pygame/SDL is good at platform abstraction, but combining both libraries isn't going to be particularly simple.
Omae Wa Mou Shindeiru
zngb
zngb
There's also PySFML somewhere here.
Maybe you should take a look at it. Never tried it with python though...
--Amir
The Communist Duck
The Communist Duck
Thanks guys! I think I shall go for Pyglet. I've tried SFML before, and I'm not too much of a fan of its architecture. Though knowing it has a Python binding is nice. ;D
Hodgman
Hodgman
Pyglet also has the unfortunate trait that it's original developer is a two-faced bastard of a weasel. Pygame doesn't suffer from this flaw.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.