I'm trying to develop a game in which a ball is thrown with the help of a slingshot and the ball moves in a elliptical path horizontally for a long distance and how can we implement this horizontal movement of ball. And can we calculate the total distance covered by the ball. plz help me out.
Google quickly revealed the formula here:
Develop games in your browser. Powerful, performant & highly capable.
thanks for helping me out...what about the horizontal game length.the ball should move infinite distance to right.can we regenerate the background screen after a particular time period.
The "Scrolling / Camera" section of the how do I FAQ contains examples of continuous scrolling.
Hope it helps.