Rect Collisions DemoSide-based rectangle collisions | |
Download |
Rect Collisions Demo Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- PyMike
- Publisher web site:
- http://pymike.4rensics.org/
Rect Collisions Demo Tags
Rect Collisions Demo Description
Side-based rectangle collisions Rect Collisions Demo is a simple demo on how to do side-based rectangle collisions. It's extremely simple, and not very hard to understand.Concept:I'm putting this here since it's not in the download. Basically how it works is when you move a rect, you first move along the X axis, test for a collision, move out, then move along the Y axis, test for a collision, and move out. This prevents the infamous "corner-catching" bug, and lets you move smoothly along walls. Requirements: · Python · pygame
Rect Collisions Demo Related Software