Kojack 🦎 on Nostr: nprofile1q…xxlvy I did this in a 2D engine I used to run 1 day game programming ...
nprofile1qyt8wumn8ghj7un9d3shjtnyd968gmewwp6kytcqyqje45r60d95lp47ls8uaxwr00jadzjstjr0fhx4xt8rvw7q65chclxxlvy (nprofile…xlvy) I did this in a 2D engine I used to run 1 day game programming sessions for school kids. I was making asteroids / space invaders style games but with more bullets and the collision checks were slow, so I changed it to a screen sized grid binned the objects based on which grid squares they overlapped. It worked pretty well for what I needed.