Hi All
I am reletively new to programming and I wrote some code about 6 months ago in version 2011.704 (2011.12.8), which worked perfectly. The PC fell apart so I had to get a new PC and re-install Corona, which ended up being version 2013.1137 (2013.6.7), but now the code doesn’t work the same way.
The actual code that didn’t work was centering the scene and objects.
I used the following:
screenGroup.x = centerX
screenGroup.y = centerY
in “function scene:createScene(event)”
and this centered everything in the earlier version, but in the new version it seems to ignor the code in this function and I have found in order to get the scene to center I had to move the code to function “function scene:enterScene(event)”.
Why has this happened?
Will I encounter more changes like this?
Is there a better way to center my scene?
Thank you
Regards
Ozan