clone from libgdx demo superjump