Noah Petherbridge
61af068b80
* 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! |
||
---|---|---|
.. | ||
actors_test.go | ||
collide_actors.go | ||
collide_level.go | ||
debug_box.go | ||
level_test.go |