Skip to content

Conversation

@Cleptomania
Copy link
Member

Some of this is likely temporary.

First off, pymunk has been made optional, and can be installed with pip install arcade[extras]. It will not be installed by default. Trying to use the PymunkPhysicsEngine will result in an error if it is not installed, and the detailed hitbox algorithm will fallback to the simple one with a warning printed to the console.

This change is largely because there is no sane way to install pymunk in WASM environments right now. PyPi doesn't support WASM wheels yet, and while pymunk does have a WASM wheel distributed on the GitHub release, installing the wheel directly from github doesn't work due to CORS problems, so as of right now if you want pymunk in a browser, you'll have to figure out hosting for the wheel and install it with micropip manually. If that is done, arcade should pick it up and it should work, but there's no sane way for us to handle the dependency automatically probably until the wheel can just be on pypi.

The other change which is less impactful, is that I've downgraded the minimum PIL version to 11.3.0, as there are no differences which impact Arcade between 11.3 and 12.0, and pyodide is still bundling 12.0. This can be bumped back up to 12.0 minimum when pyodide upgrades.

@Cleptomania Cleptomania merged commit ab5ca56 into development Dec 27, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants