Help me!!!
How can do appear the text “you win”, when circle is moved into circle1???
code:
local W = display.contentWidth / 2
local H = display.contentHeight / 2
local circle = display.newCircle(W, H-130, 50)
circle.strokeWidth =3
local circle1 = display.newCircle(W, H+100, 70)
circle1.strokeWidth =3
circle1:setFillColor(0, 0, 0)
circle1:setStrokeColor(255, 255, 255)
local function dragMe(event)
local t=event.target
if event.phase==“moved” then
t.x=event.x
t.y=event.y
end
end
