to make it jump I am changing velocity Y to -600 and and to fall down gravity 30. obstacles are coming from right to left.
by adding camera and scroll behavior we can see ball on same x position but when it collides with obstacles then obstacles looks like they are moving left to right for few time. and also at some time ball reach to point where obstacles are actually created and then we can see them appearing on screen.