Skip to main content

collisions


Rect Collision Response

A simple demo on how to do side-based rect collision response.

Particles

Discontinued This is how i get things to bounce x times. I have used this technique both in 3D and 2D games. I invented it for a Scorched Earth clone i did 12 years ago so i could launch projectiles in a wanted angle with different powers ^^ Can be used for all kinds of funny stuff like flying bodyparts, fire , special effects in general.

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.

Pygame colliders

Library to handle complex collisions.

next