pygame-geometry icon indicating copy to clipboard operation
pygame-geometry copied to clipboard

🐍🎮-🔷 pygame with polygons, circles, lines, and raycasting

Results 26 pygame-geometry issues
Sort by recently updated
recently updated
newest added

Removed python 3.7 CI and added 3.12. Also updates the minumin required CPython version to 3.8.

involves:github_actions

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...

type:new_api
submodule:circle
submodule:collisions

This change resolves #223 by renaming all 'collideswith' functions to 'collide'.

type:cleanup

Closes #184.

type:new_api
submodule:polygon

Closes #183. This PR also adds an internal function called _pg_line_subtype_new for convinient copying and fixes a small naming conflict.

type:new_api
submodule:line

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...

type:new_api
submodule:polygon
submodule:collisions

Closes #144.

type:new_api
submodule:line

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: ![image](https://github.com/pygame-community/pygame-geometry/assets/103119829/7dbf5a37-1bee-4770-8643-11d6ffce677b) While avoiding having to write: ```Py c.y - c.r # top c.x + c.r # right c.y + c.r # bottom c.x -...

type:enhancement
submodule:circle

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...

type:cleanup
type:partial_rewrite