Alberto

Results 63 issues of Alberto

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

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

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

All shapes have bool collision functions that return `True` if they overlap with another shape, both of matching, unmatching and general (collideswith) type. We should implement similar intersection methods, but...

type:new_api
submodule:geometry
submodule:circle
submodule:polygon

type:new_api
submodule:polygon

Assigned to @maqa41

type:new_api
submodule:polygon