On Dec 11, 2007 8:18 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > Ondrej Certik wrote: > > On Dec 11, 2007 5:20 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > >> On Dec 11, 2007 9:26 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>> This seems to be similar to SDL (which has a python wrapper: pygame). > >>> I am worried about yet another "multimedia framework". We should have > >>> less of those instead of more. > >> I think you can just do 2D things easily in pygame. Pyglet is for both > >> 2D and 3D things. It's a pure python, no difficult compilation of > >> modules. Also I think more choices are better rather than less > >> choices. > > > > See also this post why pyglet is better than pygame: > > > > http://aroberge.blogspot.com/2007/08/pyglet-and-pygame-which-one.html > > > I haven't had a mac for a bit, but when I did, I found the > something-like-2-line patch to make pygame work on a mac. It's pretty > trivial (there are I think two places with font calls that need to have > slightly different parameters). With that minor change, pygame worked > great on the mac. I haven't looked at it very much since the beginning > of the year, though. > > Also, you can use opengl with pygame. I know there's been huge > discussions on the mailing list about using opengl python bindings > instead of the SDL 2d built-in capabilities. On the side, I've been > helping develop a pygame game and I looked at using opengl instead of > SDL. I thought that pygame was a pretty nice framework. > > That said, pygame seems pretty stagnant. They've been advertising the > next release for a long time (I think 1.8 was originally due last > December). The current release was done in 2005 and their last commit > to the subversion repository seems like it was several months ago. Last > year I emailed the developers about the issue with a mac and I thought > they applied the patch, but I don't know, maybe not. > > > I don't know anything about pyglet, so I can't compare the two > frameworks very well. In looking through some pyglet examples, though, > it seems like pygame is a more comprehensive framework.
Thanks for a thorough analysis. I'll ask the author of pyglet to comment in this thread, maybe he has something interesting to say. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---