Good questions. It’s one long line, initially created as a single short line and then appended hundreds of times.
The vertices are in one long table with the odds being x coordinates and the evens being y coordinates
I misspoke in my original post, 975 to 1070 is the number of values in the table, not vertices (divide by 2 for vertices).
[lua]
local function createOutline( vertices)
local v = vertices – table with about 1,000 values
local outline = display.newLine( v[1], v[2], v[3], v[4] ) – first 2 vertices
for i=5,#v - 3,2 do – start at the 3rd set of vertices and count by 2
outline:append( v[i], v[i+1] )
end
end
[/lua]
I think the solution will be building the long line out of smaller lines (maybe 100 vertices each) but if there is a hard limit, it would be good to know.