doodle/pkg/collision
Noah Petherbridge 61af068b80 Load Balance Collision and Actor Loop Across CPU Cores
* Add sync.WaitGroup to some parts of the level collision detection
  function and Canvas.Loop() to speed up the frame rate by load
  balancing some work in parallel across multiple cores.
* Improves FPS from 30 to 55+ even for busy scenes with lots of mobile
  enemies walking around.
* Before the level collision optimization, framerate would sometimes dip
  to 30 FPS simply to move the player character on a completely blank
  map!
2019-05-06 17:06:40 -07:00
..
actors_test.go Unit Tests for Collision Detection 2019-04-15 20:19:52 -07:00
collide_actors.go Script Timers, Multiple Doodad Frames 2019-04-18 18:15:05 -07:00
collide_level.go Load Balance Collision and Actor Loop Across CPU Cores 2019-05-06 17:06:40 -07:00
debug_box.go Detect Collision Between Actors 2019-04-15 19:17:25 -07:00
level_test.go Unit Tests for Collision Detection 2019-04-15 20:19:52 -07:00