Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi Community for wonderful people,
How does one go about - getting a sprite to orbit around another sprite?
I've asked this historically, but my question seems to have vanished.
I also found https://www.construct.net/en/forum/construct-classic/help-support-using-construct-38/object-orbit-around-33428 but not sure I fully understand it :(
just have a look at my capx
Develop games in your browser. Powerful, performant & highly capable.
Most impressive sizcoz.
How do I alter the satellite to rotate 360... rather than elliptical?
if I alter the orbit_height/width I don't get the 360 :(
For this example, if you wanted to circle around the circumference of a sprite which is 100 x 100, and is in the centre of a layout which is 480 x 640 you would do the following.
Hope this helps.
Thanks sizcoz ;)
Is it possible to get it orbiting without the slider-bars?
I've tried this and the motion stops dead.
I tried to set the global variables in Every Tick
Set orbit_width to width.Value
Set orbit_width to 0
it's okay, figured it out ;)