A simple platformer engine