<p>What are some toolkits for developing 2D games in Python? An option that I have heard of is Pygame, but is there anything that has more range to do more things? What are the good and bad parts about the modules?</p>

[{'answer_id': 34639, 'author': 'Ben Scheirman', 'author_id': 3381, 'author_profile': 'https://Stackoverflow.com/users/3381', 'pm_score': 0, 'selected': False, 'text': '<p>I\'ve only heard people talk about pygame.  It has tons of followers &amp; plenty of functionality.</p>\n\n<p>Recently I saw <a href="https://rads.stackoverflow.com/amzn/click/com/1590598725" rel="nofollow noreferrer" rel="nofollow noreferrer">this book</a> at barnes &amp; noble which I might check out one day.  It looked good.</p>\n'}, {'answer_id': 34640, 'author': 'Justin Bennett', 'author_id': 271, 'author_profile': 'https://Stackoverflow.com/users/271', 'pm_score': 2, 'selected': False, 'text': '<p>I think pygame is the standard for game development in Python, I don\'t know of any others.  A book you may be interested in is <a href="https://rads.stackoverflow.com/amzn/click/com/1592000770" rel="nofollow noreferrer" rel="nofollow noreferrer">Game Programming with Python, Lua, and Ruby</a>.  Not only does it cover Python (and, I believe, the pygame module), but it also gives you exposure to Lua and Ruby.  It\'s also available on <a href="http://books24x7.com" rel="nofollow noreferrer">books24x7</a> if you have a subscription there.</p>\n'}, {'answer_id': 35237, 'author': 'Nathan', 'author_id': 3623, 'author_profile': 'https://Stackoverflow.com/users/3623', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://codeboje.de/2d-game-engines-python/" rel="nofollow noreferrer">A blog post covering several of the alternatives</a>, including <a href="http://www.pygame.org/" rel="nofollow noreferrer">PyGame</a>, <a href="http://www.farbs.org/pycap.html" rel="nofollow noreferrer">PyCap</a>, <a href="http://www.suda-chen.biz/?page_id=9" rel="nofollow noreferrer">SpriteCraft</a>, and <a href="http://ika.sourceforge.net/" rel="nofollow noreferrer">ika</a>. I have also seen <a href="http://www.pyglet.org/" rel="nofollow noreferrer">pyglet</a> mentioned.</p>\n\n<p>You may also want to look at <a href="http://panda3d.org/" rel="nofollow noreferrer">Panda</a>, which is a very easy to use 3D engine with Python bindings. It is used for rapid prototyping at <a href="http://www.etc.cmu.edu/" rel="nofollow noreferrer">Carnegie Mellon\'s ETC</a>.</p>\n'}, {'answer_id': 35741, 'author': 'dwestbrook', 'author_id': 3119, 'author_profile': 'https://Stackoverflow.com/users/3119', 'pm_score': 5, 'selected': True, 'text': '<p>I use <a href="http://www.pygame.org/news.html" rel="nofollow noreferrer">pygame</a> myself and it is very good. It has good documentation and tutorials, and is quite well designed. I\'ve also heard wonderful reviews of <a href="http://www.pyglet.org/" rel="nofollow noreferrer">pyglet</a>.</p>\n'}, {'answer_id': 103146, 'author': 'David Eyk', 'author_id': 18950, 'author_profile': 'https://Stackoverflow.com/users/18950', 'pm_score': 3, 'selected': False, 'text': '<p>I have used and would highly recommend <a href="http://www.pyglet.org" rel="nofollow noreferrer">pyglet</a>, which provides 2D sprite graphics, hooks into OpenGL effects, audio support, file asset management, and excellent text layout and display support (not something you always find in a 2D game library). The API is sane, well-documented, and easy to get started with, and goes deep (especially if you\'re an OpenGL wizard).</p>\n\n<p>As a companion to pyglet, I have used and would also suggest <a href="http://cocos2d.org/" rel="nofollow noreferrer">Cocos2D</a>, which adds scene management, improved sprites, tiled map support, and fancy (accelerated) effects to add a little polish. Cocos is still young, but taking shape quickly, and already has fairly solid documentation.</p>\n'}, {'answer_id': 131454, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>Another option is <a href="http://www.farbs.org/pycap.html" rel="nofollow noreferrer">pycap</a> which is a wrapper for the popcap framework with Python.</p>\n'}, {'answer_id': 571782, 'author': 'Jonathan Ford', 'author_id': 69164, 'author_profile': 'https://Stackoverflow.com/users/69164', 'pm_score': 1, 'selected': False, 'text': '<p>If you\'re already familiar with using OpenGL in another language (probably C or C++) then <a href="http://pyopengl.sourceforge.net/" rel="nofollow noreferrer">PyOpenGL</a> is awesome. I was surprised as to how easy it was to switch from OpenGL/C to OpenGL/Python. The performance isn\'t half bad either.</p>\n\n<p>I\'ve heard good things about PyGame and Pyglet though I must admit I haven\'t really done much messing around with either one.</p>\n'}]
['https://Stackoverflow.com/questions/34611', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1447/']