How do I make a sprite go in a circular motion. For example a meteor orbiting a planet.
With sine maybe, but how?
Develop games in your browser. Powerful, performant & highly capable.
This has been asked many times. Do a search for "orbit".
https://1drv.ms/u/s!AjkoCSebIn9Jhyrw1XSHsxj7TUFH my personnal way of doing it, with maths, and as you guessed, sinus was of use.
With or without sine behavior (but both literally use sine method):
https://dl.dropboxusercontent.com/u/659 ... orbit.capx