Skip to content

Convert collision detection to quadtree #30

@devstopfix

Description

@devstopfix

See quadtree

Algorithm:

  • build a quadtree of all rocks, bullets and ships
  • get a list of collisions - each is a term {:bullet 1 :ship 12}
  • filter duplicate events - currently a single bullet could hit a ship and a rock
  • send events into the game

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions