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! |
||
---|---|---|
.. | ||
actor_animation.go | ||
actor.go | ||
canvas_actors.go | ||
canvas_editable.go | ||
canvas_present.go | ||
canvas_scrolling.go | ||
canvas_wallpaper.go | ||
canvas.go | ||
draw_modes.go |