local function bubbleEffect()
local color = {}
color.r = math.random(0,1)
color.g = math.random(0,1)
color.b = math.random(0,1)
local myCircle1 = display.newCircle( W/2, H/2, 35 )
myCircle1.strokeWidth = 1
myCircle1:setStrokeColor( 1, 0, 0 )
local function callThis(event)
if(event.phase == “began”) then
myCircle1:setFillColor(0,0,0,0)
myCircle1:setStrokeColor( color.r, color.g, color.b,1 )
transition.to(myCircle1.path,{time = 500,radius = 500,onComplete = function()
myCircle1:removeSelf()
myCircle1 = nil
bubbleEffect()
end})
end
end
myCircle1:addEventListener(“touch”,callThis)
end
bubbleEffect()
Hi i guys, im new in corona., result i want is ripple effect, what i want to know is there any way to hide the circle but its stroke should be visible…, now what happens is if i hide circle stroke is also getting invisible…, or is there any other way to make hollow circle…,