Also, you cannot simply hot-fix this in your Lua code.
Say you have all your group objects scaled with the xScale and yScale property… rather than the group:scale() func… then you cannot simply replace a single function. You’d need to rework your thousands-of-lines code! Not feasible.
EDIT:
Also, I’d expect display objects in hierarchy to reflect group scaling, while it’s not:
[lua]local test = display.newGroup(display.newImage(“myImage.png”)) – myImage: width: 256, height: 256
test.xScale = 0.5 – new dimensions for group should be 128, 128
test.yScale = 0.5
print(“Width:”,test.width,“Height:”,test.height) – prints 256, 256
print(“Image Width:”,test[1].width,“Image Height:”,test[1].height) – still prints 256, 256[/lua]
If original texture size is needed, it should be provided separately, i.e. with object.textureWidth and object.textureHeight, as an example. Width and height members should always represent transformed values in screen-space. [import]uid: 5750 topic_id: 4391 reply_id: 13716[/import]