added jumping, curved paths, ball physics