We turned off anti-aliasing a long time ago for performance reasons (back when Graphics 2.0 came out) if I’m remembering correctly. I’ll ping the engineers and see if they remember why.
Thanks guys. I tried drawing the line with an image file ( 2px width, 1px height). but still having the problem. Will have wait for the anti-aliasing feature.
local function testLineImage( xPos, yPos ) local line1 = display.newImageRect( 'asset/line\_v1.png', 2,1 ) line1.xScale = 50 line1.x = xPos + line1.contentWidth/2 line1.y = yPos line1:rotate( math.random( 0,90) ) return line1 end
We turned off anti-aliasing a long time ago for performance reasons (back when Graphics 2.0 came out) if I’m remembering correctly. I’ll ping the engineers and see if they remember why.
Thanks guys. I tried drawing the line with an image file ( 2px width, 1px height). but still having the problem. Will have wait for the anti-aliasing feature.
local function testLineImage( xPos, yPos ) local line1 = display.newImageRect( 'asset/line\_v1.png', 2,1 ) line1.xScale = 50 line1.x = xPos + line1.contentWidth/2 line1.y = yPos line1:rotate( math.random( 0,90) ) return line1 end