azurite-engine / Azurite

Azurite Game Engine is a 2D Java game engine built on top of LWJGL.
https://azurite-engine.github.io
MIT License
42 stars 20 forks source link

collision check based on human readable tags #86

Closed Juyas closed 2 years ago

Juyas commented 2 years ago

Introducing collision checks based on human readable tags to reduce the complexity and increase the readability, which can be freely chosen by the developer as plain case-sensitive strings. Implemented in such a way, that the performance of the overall collision checking is kept stable. We might wanna recommend in the future to not use more than ~8 tags per collider to avoid reports of bad performance, if someone applied "millions" of tags to ALL colliders.