I'm trying to make a sprite that moves around a planet, how do i set the values on position x, y to make this displacement.
Develop games in your browser. Powerful, performant & highly capable.
Extract from the How do I FAQ:
ake an object rotate around another via events - LINK