Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1305816 Posts in 58326 Topics- by 49434 Members - Latest Member: LeeHamilton

July 26, 2017, 02:37:53 am

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)pygame vs pyglet
Pages: [1]
Print
Author Topic: pygame vs pyglet  (Read 8645 times)
winterkill
Level 0
**


Shpadoinkle!


View Profile Email
« on: November 04, 2008, 12:50:59 am »

I'm trying to decide between pygame and pyglet to kick off some new projects. I have some experience with python (but nothing related to games) and love the language (which is why I want to use it rather than C++). This would be my first real foray into game development, hopefully culminating in a couple of platformers.

Does anyone have experience with both of these packages? I'm leaning toward pyglet at the moment because it's based on OpenGL (which I have a little experience with) rather than SDL and seems like it would be more cross-platform friendly. The pyglet project also seems a little more active, and I think I prefer their aesthetic to the pygame folk's.

Any opinions?
Logged
Michael Buckley
Level 0
***



View Profile
« Reply #1 on: November 04, 2008, 01:09:33 am »

I recommend following your instinct on this one. SDL is not a bad library by any means, but it's not as powerful as OpenGL. In my limited experience with pygame and pyglet, they're both fine libraries.
Logged
george
Level 7
**



View Profile Email
« Reply #2 on: November 04, 2008, 08:12:04 am »

Having started off with Pygame and then pyglet, I definitely prefer pyglet. The downside at the moment is fewer games to look at and less documentation, though the documentation still is pretty good. I like OpenGL and pyglet's event framework in particular, and the Cocos project for pyglet is pretty interesting as well. 

You could take a skim of some of the Pyweek games to get a feel for programming with each library if you're still undecided.
Logged
qubodup
Level 1
*


icons?


View Profile WWW Email
« Reply #3 on: November 07, 2008, 05:48:59 pm »

Any opinions?

Pyglet is cooler. Pygame is more popular.
« Last Edit: November 08, 2008, 04:27:32 pm by qubodup » Logged
Skofo
Level 10
*****



View Profile
« Reply #4 on: November 07, 2008, 05:50:35 pm »

Yeah I've never heard of Pyglet before this, but it definitely looks very interesting.
Logged

If you wish to make a video game from scratch, you must first invent the universe.
nayon
Level 5
*****


dickfish


View Profile Email
« Reply #5 on: November 09, 2008, 09:02:44 am »


True. I started with pygame and moved to pyglet. Pyglet requires more work, but produces more satisfying results.
Logged

riq
Level 0
**



View Profile WWW Email
« Reply #6 on: November 10, 2008, 03:28:40 pm »

I think it also depends on your target.
Are you going to support 'old' hardware ? do you need hardware acceleration ? do you want to support OLPC ?

If you want hardware acceleration, I would choose pyglet. I like a lot. And as it was mention earlier, you have cocos2d ( http://www.cocos2d.org ) which is a nice game library (he, I'm one of the authors ;-)

But if you want to support old hardware, go with pygame.
Logged

cocos2d
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic