A framework for a horizontal scrolling platformer