Ok… seems the point at which a display group scales changes depending on graphics compatibility setting
Ive amended the Polygon sample code… to this
-- -- Abstract: PolyLines sample app, demonstrating how to draw shapes using line segments -- -- Version: 1.0 -- -- Sample code is MIT licensed, see http://www.coronalabs.com/links/code/license -- Copyright (C) 2010 Corona Labs Inc. All Rights Reserved. local vertices = { 0,-110, 27,-35, 105,-35, 43,16, 65,90, 0,45, -65,90, -43,15, -105,-35, -27,-35, } test = display.newGroup() local x,y = display.contentCenterX, display.contentCenterY local o = display.newPolygon( x, y, vertices ) o:setFillColor( 255, 0, 0 ) o.fill = { type="image", filename="aquariumbackgroundIPhone.jpg" } --o.fill = nil o.strokeWidth = 10 o:setStrokeColor( 0, 255, 255 ) test:insert(o) transition.to( test, { time=2000, xScale=0.5, transition=easing.inOutQuad } )
Add the
graphicsCompatibility = 1,
to the config and try it out… remove it and try it out.
Is this the correct behaviour!? I thought by adding this to my config… my older projects coord system would be left intact.
Cheers