Skip to content

Commit e7fe4f5

Browse files
committed
Use Munk2D 1.0
1 parent e6bc763 commit e7fe4f5

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

CHANGELOG.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Changelog
1616
Changed body.shapes to return a KeysView instead of a set of the shapes.
1717
Changed Shape.segment_query to return None in case the query did not hit the shape.
1818
Changed ContactPointSet.points to be a tuple and not list to make it clear its length is fixed.
19-
19+
Switch from using Chipmunk to the new Munk2D fork of Chipmunk.
20+
2021
Added default do_nothing and always_collide callback functions to the CollisionHandler, so that its clear how to reset and align with other callbacks.
2122
If in old code you did handler.begin = None, you should now instead to handler.begin = CollisionHandler.always_collide etc.
2223

README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Pymunk
55

66
Pymunk is an easy-to-use pythonic 2D physics library that can be used whenever
77
you need 2D rigid body physics from Python. Perfect when you need 2D physics
8-
in your game, demo or simulation! It is built on top of the very
9-
capable 2D physics library `Chipmunk2D <http://chipmunk-physics.net>`_.
8+
in your game, demo or simulation! It is built on top of Munk2D, a fork of the
9+
very capable 2D physics library `Chipmunk2D <http://chipmunk-physics.net>`_.
1010

1111
The first version was released in 2007 and Pymunk is still actively developed
1212
and maintained today, more than 15 years of active development!
@@ -18,8 +18,8 @@ the Pymunk webpage for some examples.
1818

1919
2007 - 2025, Victor Blomqvist - vb@viblo.se, MIT License
2020

21-
This release is based on the latest Pymunk release (6.11.1),
22-
using Chipmunk2D 7 rev dfc2fb8ca023ce6376fa2cf4a7f91c92ee08a970.
21+
This release is based on the latest Pymunk release (7.0.0),
22+
using Munk2D 1.0 rev 9c3026aded65c439d64d1cb4fa537544fa8a3989.
2323

2424

2525
Installation

pymunk/_version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# ----------------------------------------------------------------------------
2323

2424
"""
25-
Internal module used to make it possible to import the pymunk verison number
25+
Internal module used to make it possible to import the pymunk verison number
2626
from more places than __init__.
2727
2828
"""
@@ -36,5 +36,5 @@
3636

3737
chipmunk_version = "%s-%s" % (
3838
ffi.string(cp.cpVersionString).decode("utf-8"),
39-
"dfc2fb8ca023ce6376fa2cf4a7f91c92ee08a970",
39+
"9c3026aded65c439d64d1cb4fa537544fa8a3989",
4040
)

0 commit comments

Comments
 (0)