# How do I Add Hollow circle but bounding out and inside!

Get help using Construct 2

### » Fri Dec 25, 2015 5:06 pm

not getting this maths part! please capx would helpout!
B
12
S
3
Posts: 31
Reputation: 825

### » Fri Dec 25, 2015 5:12 pm

centery = 1363
centerx = 402

Not perfect, but pretty close..

If you want it perfect, using my solution to position your sprites would be better, but this is pretty close..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

### » Fri Dec 25, 2015 5:22 pm

@LittleStain thanks man but i need the circle to stay where it is just need the circle to rotate like wheel
B
12
S
3
Posts: 31
Reputation: 825

### » Fri Dec 25, 2015 5:27 pm

change those global variables in the capx you linked to the numbers I gave in the above post and that is exactly what happens..

Those numbers are the center of the circle and as such the point around which the segments turn..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

### » Fri Dec 25, 2015 5:33 pm

Yup after applying that part its giving little bit within screen but still circle is changing its position i need it be stay where it is but to be rotate!

this what happen after i put your given global variables : http://i.imgur.com/OM4MiWH.gif
B
12
S
3
Posts: 31
Reputation: 825

### » Fri Dec 25, 2015 5:41 pm

Are you sure you put in the correct numbers?

It works with those numbers in the capx I downloaded from here, which you placed..

Not mixed up a 3 and a 6 or a 2 and a 0?

Like I explained before, those are the coordinates of the center of the rotation, in your case, the circle..
You do know what a center is?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

### » Fri Dec 25, 2015 6:22 pm

Hey @smashupbuddy hi.

The solution is really simple no global variable no complex maths .

http://www.filedropper.com/somenew2

Cheers.
B
36
S
16
G
1
Posts: 59
Reputation: 3,501

### » Fri Dec 25, 2015 6:47 pm

@saour thanx man but still one thing which doesn't work out its moving i want it to not move just rotate!
B
12
S
3
Posts: 31
Reputation: 825

### » Fri Dec 25, 2015 6:54 pm

@smashupbuddy
Just remove the sine behavior from the sprite2.
Cheers.
B
36
S
16
G
1
Posts: 59
Reputation: 3,501

Previous