This is basically Scratchy Platformer IV with only 1 level. Start by setting the planet radius relative to Earth (1 = same as Earth), this will calculate first the volume of the Planet relative to Earth, then the gravity strength based on it with the formula M = ((4/3)×pi×r) then g = M^(1.125)×k = k×M^(9/8) = k × (sqrt(sqrt(sqrt(M)))^9 I recommend not using a radius of less than 0.7, or more than 1.8, as gravity is way too weak or strong in those cases. k is a constant to ensure g = -0.5 when r = 1
It would be animated, but the animation refused to work for some reason