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
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

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
54
S
23
G
18
Posts: 2,123
Reputation: 17,200

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
134
S
55
G
24
Posts: 803
Reputation: 24,439


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests