Urgent Help Required /Making circle around vertical axis pass through a vertical rod

I am a beginner in corona sdk and I have been starting to learn it by doing and trying. I am having one problem. I want a a circle around a vertical axis to pass through a rod/vertical line drawn without the edges of the circle touching it the rod.

Your held suggestion will help me  a lot 

its basically means passing a ring through a rod held vertically without its edges touching th rod

Do you mean like this?

ring_cylinder.png

If so, the only way to do it is to split the image of the ring into two images and pass one in front and the other behind the image of the rod.

Remember Corona is a 2D SDK, there is no (explicit) concept of depth or Z.  You can only have layering and thus the need to split your ring into two visual elements that can be layered against the rod image.

You may want to check out container function ( https://docs.coronalabs.com/api/library/display/newContainer.html )

With container, try drawing 2-circles. One circle in front of the rod, the second circle behind the rod. Then use container to only show part of the first circle. Please note the masking limit of 3 when using container.

Are you trying to achieve something like “Ketchapp” did with the game “Circle”?.

–SonicX278

SonicX 728, yes thank you for the information regarding Ketchapp’s Circle. Yes I want to make some like that for my own and learn the beauty of programming. Can you please help me, how is that done .

Hey. Sorry i didn’t see the reply. Did you still need help?

–SonicX278 

its basically means passing a ring through a rod held vertically without its edges touching th rod

Do you mean like this?

ring_cylinder.png

If so, the only way to do it is to split the image of the ring into two images and pass one in front and the other behind the image of the rod.

Remember Corona is a 2D SDK, there is no (explicit) concept of depth or Z.  You can only have layering and thus the need to split your ring into two visual elements that can be layered against the rod image.

You may want to check out container function ( https://docs.coronalabs.com/api/library/display/newContainer.html )

With container, try drawing 2-circles. One circle in front of the rod, the second circle behind the rod. Then use container to only show part of the first circle. Please note the masking limit of 3 when using container.

Are you trying to achieve something like “Ketchapp” did with the game “Circle”?.

–SonicX278

SonicX 728, yes thank you for the information regarding Ketchapp’s Circle. Yes I want to make some like that for my own and learn the beauty of programming. Can you please help me, how is that done .

Hey. Sorry i didn’t see the reply. Did you still need help?

–SonicX278