How do I create circular movement

Just started using Construct 2? Post your questions here

Post » Thu Jun 30, 2016 1:37 pm

How do I make a sprite go in a circular motion. For example a meteor orbiting a planet.
With sine maybe, but how?
B
4
Posts: 11
Reputation: 220

Post » Thu Jun 30, 2016 2:17 pm

This has been asked many times. Do a search for "orbit".
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Thu Jun 30, 2016 2:20 pm

https://1drv.ms/u/s!AjkoCSebIn9Jhyrw1XSHsxj7TUFH my personnal way of doing it, with maths, and as you guessed, sinus was of use.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Fri Jul 01, 2016 6:53 pm

With or without sine behavior (but both literally use sine method):
https://dl.dropboxusercontent.com/u/659 ... orbit.capx
ImageImage
B
102
S
45
G
22
Posts: 772
Reputation: 21,493


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests