Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 575 Bytes

File metadata and controls

24 lines (16 loc) · 575 Bytes

asteroidsjs

A spaceship game built with pixijs.

Tasks

  • Render a sprite in a main screen scene;
  • Integrate with assetpack;
  • Create path alias;
  • Integrate with jest for testing;
  • Test cover

Collision detection

  • Create a collision service

A possible framework to implement collision detection: text.

Important steps to improve collision detection:

  • Calculate and cache the bounding boxes
  • Prune impossible collisions using quadrants
  • Prune collision that don't matter
  • Parallelize