Skip to main content

Collider Library

A minimalistic swept collision-detection library for platformer and tile based games. It works with axis-aligned rectangles and features swept collision detection and basic collision responses.


Mateusz
(warownia1)
Collider is a minimalistic, pure-python collision detection library for pygame. It was designed for tile-based and platformer games where all objects can be represented as axis aligned rectangles. The collision detection was implemented using Minkowski difference and Liang-Barsky segment clipping algorithm. It uses swept collision detection in order to prevent tunnelling. Additionally, it provides basic collision responses such as "bounce", "block" and "pass". The library is currently in beta stage. Comments and feature suggestions are very welcome.

Changes

Links

Home Page
https://github.com/warownia1/PythonCollider

Releases

Collider Library 0.1 — 17 Mar, 2019

Pygame.org account Comments