g--o / JSCF

JavaScript Canvas Framework
http://g--o.github.io/web-JSCF/
Apache License 2.0
8 stars 1 forks source link

Performance: Spacial Trees (e.g: Quad Tree) #1

Open g--o opened 6 years ago

g--o commented 6 years ago

To improve performance we need to use better scene management techniques like spacial trees. A simple suggestion would be having a QuadTree to speed things up. Implementing it without breaking other modules would be a great achievement.

Relevant files: scene.js, sceneManager.js and maybe entity.js. Good luck!