Whee. Finally got my collision system working properly with the quadtree and camera systems.
When I ask which entities collide with a certain entity, the quadtree returns the entities in the same quad tree node space. Then, a hit-box check is done to see which of those entities overlap the hit-box of my entity. The hit boxes scale with the entity, btw. Last, an image check is done on the remaining entities.
screenshot or it didn’t happen!
As you can see in the screenshot, there is only one hit at image level. (HIT*1)
I’m happy! Next thing to do is importing and exporting entity worlds.

Like this:
Like Loading...