pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
767 stars 120 forks source link

Add `Circle.collidelist/collidelistall()` #2880

Open damusss opened 1 month ago

damusss commented 1 month ago

This PR ports Circle.collidelist/collidelistall from the https://github.com/pygame-community/pygame-geometry repository. Will work with Line and Polygon once they get implemented.

Credits

Geometry Project: For code, docs and tests: @novialriptide @Emc2356 @itzpr3d4t0r @ScriptLineStudios @avaxar @Matiiss @newpaxonian @maqa41 @blankRiot96 Also thanks to @Starbuck5 for kickstarting the idea and the occasional help!

Functionality added in this PR

damusss commented 1 month ago

Thanks, I modified as needed