In graphic 1.0, I have code like this
currPageGroup:setReferencePoint(display.CenterReferencePoint) currPageGroup.x = screenW \*0.5
The idea above is simple. There is a group of display objects, using center reference point, and the group is placed in the middle of the screen.
Now I want to migrate to G2, but I think I don’t totally understand something. I modified the above code to this and I expected the same but it’s not:
currPageGroup.anchorX = 0.5 currPageGroup.anchorY = 0.5 currPageGroup.x = screenW \*0.5
I am very much confused about this.