Yeah it's based on distance and not height. in retrospect i should have made it so when you hit the moon you got a ending rather than fly a random distance.