Orbit an Object

Get help using Construct 2

Post » Tue Jul 02, 2013 10:57 pm

Greetings All! I am looking to generate an orbit of 1 to 6 separate dimples around a center point. Presently, I have a png of the various dimple patterns using the 'rotate' behavior, however, I'd prefer the dimples not rotate as they orbit. In other words, I wish the motion to be similar to a person holding a ball while drawing a circular pattern in the air verses how the moon orbits around the earth. I found a *.cap file in an other conversation, but it seems incompatible with Construct 2.
I found something that orbits in the FAQ section of this forum that orbits an object but is there someway to keep the orbiting object from rotating?http://www.scirra.com/forum/how-do-i-make-earth-rotate-around-the-sun_topic45633.html
Any help is greatly appreciated!Lucky Norm2013-07-02 23:26:26
B
6
S
1
Posts: 9
Reputation: 397

Post » Tue Jul 02, 2013 11:33 pm

use containers for the orbiting moons
Pin the moons to the main sprite using the Pin behavior & select "Pin Position only" (not Pin and Rotate)
use a large transparent PNG to be able to use their center points
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Tue Jul 02, 2013 11:43 pm

Thanks, California, for the new direction. I'll let you know things progress.
B
6
S
1
Posts: 9
Reputation: 397

Post » Wed Jul 03, 2013 1:33 am

Well, here's a sample of how darn simple the build is. You'll see the versions of rotation. By far, the one on the bottom looks better and is exactly what I want!

https://dl.dropboxusercontent.com/u/104394466/3%20Simple%20Rotations.capx
B
6
S
1
Posts: 9
Reputation: 397

Post » Wed Jul 03, 2013 5:52 pm

@Lucky Norm bottom one looks great, cool!
B
18
S
5
G
4
Posts: 568
Reputation: 5,079


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, ColombageEnPLS and 7 guests