Hi all,
Any idea why my mask is being skewed on iPhone6 Plus? (device only. Simulator displays fine) My mask is a dark gray rectangle, but is skewed diagonally.
Any help is much appreciated. Thanks!
Hi all,
Any idea why my mask is being skewed on iPhone6 Plus? (device only. Simulator displays fine) My mask is a dark gray rectangle, but is skewed diagonally.
Any help is much appreciated. Thanks!
There are a number of possibilities here, and and a proper answer would require that you show us these items:
However it is most likely that you are not following the mask image size and layout rules.
I’d double check. If you don’t follow the rules for making masks you’ll see arbitrary strange behavior on some devices. i.e. It won’t consistently fail, and when it does the failure signature will vary.
Hi roaringgamer,
I have made sure the mask image’s width and height are both divisible by 4. However, this image is also nested in its own container. Does the container it’s in have to be divisible by 4 as well?
Here are the contents of config.lua. Nothing special, really.
application ={ content = { width = 320, height = 480, scale = "letterbox", -- If no suffix file is found, the base image is used imageSuffix = { ["-x15"] = 1.5, -- A good scale for Droid, Nexus One, etc. ["-x2"] = 2, -- A good scale for iPhone 4 and iPad }, audioPlayFrequency = 22050 } } application.animation\_duration = 250
Thanks
There are a number of possibilities here, and and a proper answer would require that you show us these items:
However it is most likely that you are not following the mask image size and layout rules.
I’d double check. If you don’t follow the rules for making masks you’ll see arbitrary strange behavior on some devices. i.e. It won’t consistently fail, and when it does the failure signature will vary.
Hi roaringgamer,
I have made sure the mask image’s width and height are both divisible by 4. However, this image is also nested in its own container. Does the container it’s in have to be divisible by 4 as well?
Here are the contents of config.lua. Nothing special, really.
application ={ content = { width = 320, height = 480, scale = "letterbox", -- If no suffix file is found, the base image is used imageSuffix = { ["-x15"] = 1.5, -- A good scale for Droid, Nexus One, etc. ["-x2"] = 2, -- A good scale for iPhone 4 and iPad }, audioPlayFrequency = 22050 } } application.animation\_duration = 250
Thanks