A simple platformer engine in OpenFL