Preloading and rendering image sprites in 2d js/canvas games | Hacker News Reader