4 ms·
cocos2D is pyglet + bells and whistles. Pyglet is in a transitional period, particularly for the Mac port, which is in the process of being converted to Cocoa r
by stevejohnson 17y ago
cocos2D is pyglet + bells and whistles. Pyglet is in a transitional period, particularly for the Mac port, which is in the process of being converted to Cocoa rather than Carbon. This is because the Carbon version won't run in the Python that comes with OS X 10.6.
In conclusion, while I think that pyglet's API is superior to PyGame's, for compatibility reasons I wouldn't use pyglet for a new project, at least not until we get the port finished.
- pieceofpeace 17y agoI am aware that cocos2d is a layer over pyglet but it is a very good way of doing sprite animations. I like both pyglet and cocos2d and prefer them over pygame which in my opinion is not 'pythonic' enough.