Hi Rob, thanks for the reply, Yes its the 2100 build.
And yes I am using Director library (latest stable version 1.4) https://bitbucket.org/ricardorauber/corona/downloads/director_by_ricardo_rauber_1_4.zip
Code for build.settings and config.lua posted below
This is the ‘menu.lua’ file for my project - just a menu linking to other .lua files.
I also changed the _W and _H properties to specific pixel values and the problem still occured
module (…, package.seeall)
function new()
local _H = display.contentHeight
local _W = display.contentWidth
local menuGroup = display.newGroup()
local background = display.newImage(“graphics/mainMenuBackground.png”)
background.x = _W/2
background.y = _H/2
local clefs = display.newImage(“graphics/clefs.PNG”)
clefs.x = _W/2
clefs.y = _H/4
clefs.scene = “clefs”
clefs.alpha = 0.8
local stave = display.newImage(“graphics/stave.PNG”)
stave.x = _W/2
stave.y = _H/2.5
stave.scene = “stave”
stave.alpha = 0.8
local notes = display.newImage(“graphics/notes.PNG”)
notes.x = _W/2
notes.y = _H/1.8
notes.scene = “notes”
notes.alpha = 0.8
local timeSignatures = display.newImage(“graphics/timeSignatures.PNG”)
timeSignatures.x = _W/2
timeSignatures.y = _H*0.7
timeSignatures.scene = “timeSignatures”
timeSignatures.alpha = 0.8
local howToWrite = display.newImage(“graphics/howToWrite.PNG”)
howToWrite.x = _W/2
howToWrite.y = _H*0.85
howToWrite.scene = “howToWrite”
howToWrite.alpha = 0.8
menuGroup:insert(background)
menuGroup:insert(stave)
menuGroup:insert(clefs)
menuGroup:insert(notes)
menuGroup:insert(timeSignatures)
menuGroup:insert(howToWrite)
stave:addEventListener(“touch”, changeScene)
clefs:addEventListener(“touch”, changeScene)
notes:addEventListener(“touch”, changeScene)
timeSignatures:addEventListener(“touch”, changeScene)
howToWrite:addEventListener(“touch”, changeScene)
return menuGroup
end
-------------------Config.lua file------------------
if ( string.sub( system.getInfo(“model”), 1, 4 ) == “iPad” ) then
application =
{
content =
{
width = 360,
height = 480,
scale = “letterBox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3.0,
},
},
}
elseif ( string.sub( system.getInfo(“model”), 1, 2 ) == “iP” and display.pixelHeight > 960 ) then
application =
{
content =
{
width = 320,
height = 568,
scale = “letterBox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3.0,
},
},
}
elseif ( string.sub( system.getInfo(“model”), 1, 2 ) == “iP” ) then
application =
{
content =
{
width = 320,
height = 480,
scale = “letterBox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3.0,
},
},
}
elseif ( display.pixelHeight / display.pixelWidth > 1.72 ) then
application =
{
content =
{
width = 320,
height = 570,
scale = “letterBox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3.0,
},
},
}
else
application =
{
content =
{
width = 320,
height = 512,
scale = “letterBox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
["@2x"] = 1.5,
["@4x"] = 3.0,
},
},
}
end
---------------------Build.settings file -----------------------
– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
settings = {
orientation = {
default = “landscapeRight”,
supported = { “landscapeRight”,“landscapeLeft”,}
},
iphone = {
plist = {
UIStatusBarHidden = false,
UIPrerenderedIcon = true, – set to false for “shine” overlay
}
},
}