Jump to content

  • Log In with Google      Sign In   
  • Create Account


Pygame vs Pyglet vs ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 The Communist Duck   Members   -  Reputation: 154

Like
0Likes
Like

Posted 23 February 2011 - 10:30 AM

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!


Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9496

Like
0Likes
Like

Posted 23 February 2011 - 11:11 AM

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.

#3 The Communist Duck   Members   -  Reputation: 154

Like
0Likes
Like

Posted 23 February 2011 - 11:43 AM

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.


#4 LorenzoGatti   Crossbones+   -  Reputation: 2612

Like
0Likes
Like

Posted 24 February 2011 - 03:42 AM

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.
Produci, consuma, crepa

#5 AmirEldor   Members   -  Reputation: 147

Like
0Likes
Like

Posted 24 February 2011 - 07:18 AM

There's also PySFML somewhere here.
Maybe you should take a look at it. Never tried it with python though...
--Amir

#6 The Communist Duck   Members   -  Reputation: 154

Like
0Likes
Like

Posted 24 February 2011 - 01:21 PM

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


#7 Hodgman   Moderators   -  Reputation: 28591

Like
0Likes
Like

Posted 24 February 2011 - 04:40 PM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS