spatialpartitioning branch is about to be merged in, I have created spatialpartitioning-optimized as while spatialpartitioning is faster than without it, it rebuilds the quadtree each frame. spatialpartitioning-optimized's goal is to manually move things around the quadtree without fully rebuilding each frame. Currently it mostly works but is fairly buggy and crashes.
Tested on testmap2:
- before merge: ~20fps
- spatialpartitioning: ~60fps
- spatialpartitioning-optimized: 100-120fps
obviously these are ballparks and spatialpartitioning-optimized isn't done so it could change, but it would be good to do it.
spatialpartitioning branch is about to be merged in, I have created spatialpartitioning-optimized as while spatialpartitioning is faster than without it, it rebuilds the quadtree each frame. spatialpartitioning-optimized's goal is to manually move things around the quadtree without fully rebuilding each frame. Currently it mostly works but is fairly buggy and crashes.
Tested on testmap2:
obviously these are ballparks and spatialpartitioning-optimized isn't done so it could change, but it would be good to do it.