Skip to main content

pybox2d - 2.0.2b0

2D Physics Library for Python using Box2D


Ken Lauer
(kne)
Box2D is an open source physics engine written primarily for games. It's a purely 2D engine. Features include (as of 2.0.2) circles, up to 16-sided polygons, thin line segments, controllers (for buoyancy, gravity, etc.), basic breakable bodies, and pickling support. An easily extendable testbed for pygame and pyglet is available on the homepage.

For installing with the automated installer on Windows or OS X, see here.
For information on how to build from the source, see here.

(Screenshot: test_BezierEdges.py, bezier edges implemented using thin line segments)

Changes

First release that's not based on a major Box2D release. It combines Box2D SVN r177 and contributions from shaktool (thin line segment) and BorisTheBrave (controllers/buoyancy).

For the full changelog, see the development blog.

Builds for other versions of Python (win32 2.4-2.6, OS X 2.5-2.6) are available on the homepage.

Links

Home Page
http://code.google.com/p/pybox2d/
Source
http://pybox2d.googlecode.com/files/pyBox2D-2.0.2b0-Source.zip
Windows
http://pybox2d.googlecode.com/files/pyBox2D-2.0.2b0.win32-py2.5.exe
Mac
http://pybox2d.googlecode.com/files/pyBox2D-2.0.2b0-py2.5-macosx10.5.mpkg.zip

Releases

pybox2d 2.0.1b3 — 7 May, 2008

pybox2d 2.0.1b2 — 29 Apr, 2008

pybox2d 2.0.1b4 — 1 Jun, 2008

pybox2d 2.0.2b0 — 23 Oct, 2008

pybox2d 2.0.2b1 — 25 Feb, 2009

pybox2d 2.3b0 — 27 Nov, 2013

pybox2d 2.3.2 — 18 Jan, 2017

Pygame.org account Comments

  • Behzadi 2012-07-21 11:43

    Hello
    i want a version of pubox2d for py3.1.
    there is?

    Benjamin Ward 2013-12-30 11:39

    I wish. I'm thinking of spending some time to port this, since it would be sooooo useful

    c 2014-06-17 20:24

    There is for 3.2 http://www.lfd.uci.edu/~gohlke...