Hi,
In my project, I create several circles and draw lines between them (with display.newLine), but when I simulates the project in Corona Simulator, the lines are not visible in some devices, Can anyone please help?
The minimum code to reproduce the problem is like:
local radius = 20 local circles = {} for i = 1, 5 do circles[i] = {} for j = 1, 8 do circles[i][j] = display.newCircle(100 \* j + (j - 0.5) \* 2 \* radius, 100 \* i + (i - 0.5) \* 2 \* radius, radius) end end for i = 1, 5 do for j = 1, 7 do display.newLine(circles[i][j].x, circles[i][j].y, circles[i][j + 1].x, circles[i][j + 1].y) end end
The screenshots are attached.
iphone6:
,
Samsung galaxy s5:
,
nokia lumia 920: