2D platformer framework