arcade
arcade copied to clipboard
Look into supporting pymunk.Space for collision
Pymunk has a pretty neat collision system using spaces and groups. It supports handlers/callbacks to notify about collision. I strongly suspect this can scale much better the generic sprite collision we're currently using in many cases. Especially of you're doing N x M collision checks and can't use spatial hashing due to both spritelists being highly dynamic.
Yeah, it's much faster than the arcade one. It;s object-oriented, so you can get additional properties and features. Using this with my medieval wargame, I got much better performance than using the arcade collision checks. We could also make object-oriented collision checks for arcade too.