My attempt at an HTML5 metroidvania game engine