pymunk - 5.1.0
Victor Blomqvist (viblo)
PLEASE see pymunk.org for the latest version! This page is not fully up to date!
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://chipmunk-physics.net/
Make 2d physics easy to include in your game
It is (or striving to be):
- Easy to use It should be easy to use, no complicated stuff should be needed to add physics to your game/program.
- "Pythonic" It should not be visible that a c-library (chipmunk) is in the bottom, it should feel like a python library (no strange naming, OO, no memory handling and more)
- Simple to build & install You shouldnt need to have a zillion of libraries installed to make it install, or do a lot of command line trixs.
- Multiplatform Should work on both windows, nix and OSX.
- Non-intrusive It should not put restrictions on how you structure your program and not force you to use a special game loop, it should be possible to use with other libraries like pygame and pyglet.
Please check its homepage at pymunk.org for full details of the library
A speedier Pymunk has been released!
This release is made as follow up on the Benchmarks done on Pymunk 5.0 and 4.0. Pymunk 5.0 is already very fast on Pypy, but had some regressions in CPython. Turns out one big part in the change is how Vec2ds are handled in the two versions. Pymunk 5.1 contains optimized code to help reduce a big portion of this difference.
- Big performance increase compared to Pymunk 5.0 thanks to improved Vec2d handling.
- Documentation improvements.
- Small change in the return type of Shape.point_query. Now it correctly return a tuple of (distance, info) as is written in the docs.
- Split Poly.create_box into two methods, Poly.create_box and Poly.create_box_bb to make it more clear what is happening.
I hope you will enjoy this new release!
click to view original size
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
Feb 21, 2017
Jan 31, 2017
Jan 24, 2017
Jan 18, 2017
Jan 7, 2017
Dec 30, 2016
Dec 8, 2016
Nov 28, 2016
Nov 27, 2016