Today I stepped forward into the present, using compatibility mode for an app which is nearly finished. I use widget.newButton style buttons. Here’s my config:
application = {
content = {
graphicsCompatibility = 1, – This turns on Graphics 1.0 Compatibility mode
width = 320, height = 480, scale = “letterbox”,
},
}
Issue #1: on the iPhone, these buttons appear in the style that I would expect, although they are far larger than they were in a genuine graphics 1.0 build. However, on the simulator they merely show the text, no outline or styling whatsoever! Sure looks like a bug to me. screenshots attached (left: simulator, right: phone)
Issue #2: The response style of the buttons has changed. A year ago they responded with phases “press”, “moved”, “release”. Now, even in compatibility mode, they respond with phases “began”, “moved”, “ended”. This behavior is consistent between the simulator and the phone. However, it is not consistent with the phrase “Compatibility mode”.
So I guess the real question is, how much compatibility should I expect? If these inconsistent behaviors are going to be numerous, my only reasonable choice is to hang with my old version of Corona until this project is complete.
System: Mac OS 10.7.5, Corona 2013.2076 (Old version: Corona 2012.971)