avahe-kellenberger / astroships

Asteroids-like Battle Arena (in development)
4 stars 0 forks source link

Implement Spatial Hashing #17

Closed avahe-kellenberger closed 3 years ago

avahe-kellenberger commented 3 years ago

See https://gamedevelopment.tutsplus.com/tutorials/redesign-your-display-list-with-spatial-hashes--cms-27586 for reference.

@notchris I recommend reading this when you have the time, just to get an understanding!

avahe-kellenberger commented 3 years ago

Cell size should be about 2x the size of the average object.