This is actually very simple in corona.
local function drawLine( event ) if(event.phase == "ended" ) then line = display.newLine(event.xStart, event.yStart, event.x, event.y) line:setColor(255,255,0) line.width = 5 end end
This is actually very simple in corona.
local function drawLine( event ) if(event.phase == "ended" ) then line = display.newLine(event.xStart, event.yStart, event.x, event.y) line:setColor(255,255,0) line.width = 5 end end