Skip to content

Add collision handlers tutorial#303

Open
viblo-majority wants to merge 1 commit intoviblo:masterfrom
viblo-majority:docs/collision-handlers-tutorial-2025
Open

Add collision handlers tutorial#303
viblo-majority wants to merge 1 commit intoviblo:masterfrom
viblo-majority:docs/collision-handlers-tutorial-2025

Conversation

@viblo-majority
Copy link
Copy Markdown

Summary

  • Add a new tutorial explaining how collision handlers work in Pymunk
  • Cover the four collision phases (begin, pre_solve, post_solve, separate)
  • Include practical examples: breakout-style brick destruction, one-way platforms, and collision damage calculations
  • Document the Arbiter API and common pitfalls

Test plan

  • Build documentation locally with cd docs/src && make html
  • Verify tutorial renders correctly
  • Test example code snippets work as expected

🤖 Generated with Claude Code

Add a new tutorial explaining how to use collision handlers to react
to physics events. Covers the four collision phases (begin, pre_solve,
post_solve, separate), practical examples including breakout-style
brick destruction, one-way platforms, and collision damage calculations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant