나는 함수가 있으며 ... 설명은 내 카운트가 10이 될 때까지 숨겨진 텍스트 크기를 표시해야한다는 것입니다.CORONA : CORONA에서 텍스트를 숨기고 표시하는 방법
local text2 = display.newText("BOOM", 60,20)
function scale(event)
if(appleCount == 10) then
if text2.contentWidth < 1.5 * display.contentWidth then
text2:scale(1.02, 1.02)
else
text2:scale(0.1, 0.1)
Runtime:removeEventListener("enterFrame",scale)
end
end
end
Runtime:addEventListener("enterFrame",scale)
나는 완전히 새로운 코로나 – Manoj