pygame-geometry
pygame-geometry copied to clipboard
🐍🎮-🔷 pygame with polygons, circles, lines, and raycasting
Removed python 3.7 CI and added 3.12. Also updates the minumin required CPython version to 3.8.
Closes #216. Also adds a new internal function called `_pg_circle_collideswith` for convenience. The collideswith function's implementation got changed to use this new internal function. It's worth noting that at the...
This change resolves #223 by renaming all 'collideswith' functions to 'collide'.
Closes #183. This PR also adds an internal function called _pg_line_subtype_new for convinient copying and fixes a small naming conflict.
Closes #173. This is just a first implementation that supports: - Lines - Circles - Vec2(s) / tuples / lists / sequences of len 2 It's a bit different from...
I think it would be great to have some sort of mechanism which can tell you which index in an array of colliders your ray interested with. This could, for...
Would allow to get these points:  While avoiding having to write: ```Py c.y - c.r # top c.x + c.r # right c.y + c.r # bottom c.x -...
I suggest this change as it has two benefits: 1. It would make people's code shorter and a bit more readable since the function name isn't composed of two words...