A tutorial I followed using HTML5/JS to create a simple 2d scroller game