Python的强大源自众多领域大牛的支持,例如物理引擎方面,就有N多模块支持 PyODE PyODE is a set of open-source Python bindings for The Open Dynamics Engine, an open-source physics engine.
http://code.google.com/p/pymunk/ PyMunk pymunk is a easy-to-use pythonic 2d physics library that can be used whenever you need 2d rigid body physics from Python. It is built on top of the very nice 2d physics library Chipmunk, http://code.google.com/p/chipmunk-physics/ Make 2d physics easy to include in your game :) It is (or striving to be):
http://code.google.com/p/pybox2d/ pybox2d2D physics library for Python under the very liberal zlib license. News 2011/5/20: Pure Python portI started a new Pure Python port of Box2D recently (that means no more SWIG!). It's still in the early stages, but see here for more information. |
|