I have two sizes for the actual PNG for the table.
table.png = 768 x 768 pixels
table@2x.png = 1536 x 1536 pixels
Below is the prints from the terminal
HTC (From the Terminal)
Dec 20 10:58:43.029 ----------Pressed Level # = 1-------------
Dec 20 10:58:43.035 ++++++++++++++++++++ LEVEL #1 +++++++++++++++++++++++++++++++++++++
Dec 20 10:58:43.035 display.contentCenterWidth =
Dec 20 10:58:43.035 nil
Dec 20 10:58:43.042 -------------------------
Dec 20 10:58:43.042 display.contentHeight=
Dec 20 10:58:43.043 1422
Dec 20 10:58:43.043 -------------------------
Dec 20 10:58:43.043 display.actualContentWidth =
Dec 20 10:58:43.043 800
Dec 20 10:58:43.043 -------------------------
Dec 20 10:58:43.043 display.actualContentHeight=
Dec 20 10:58:43.043 1422.2221679688
Dec 20 10:58:43.043 -------------------------
Dec 20 10:58:43.043 display.pixelWidth=
Dec 20 10:58:43.043 540
Dec 20 10:58:43.043 -------------------------
Dec 20 10:58:43.043 display.pixelHeight=
Dec 20 10:58:43.043 960
Dec 20 10:58:43.043 -------------------------
Dec 20 10:58:43.044 ++++++++++++++++++++ LEVEL #1 +++++++++++++++++++++++++++++++++++++
Dec 20 10:58:43.044 +++++++++++++++++++++TABLE TOP WIDTH/HEIGHT++++++++++++++++++++++++++
Dec 20 10:58:43.044 Table Top Width =
Dec 20 10:58:43.044 768
Dec 20 10:58:43.044 ---------------------
Dec 20 10:58:43.044 Table Top HEIGHT =
Dec 20 10:58:43.044 768
Dec 20 10:58:43.044 +++++++++++++++++++++TABLE TOP WIDTH/HEIGHT++++++++++++++++++++++++++
NEXUS ONE ** (From the Terminal)**
Dec 20 10:59:32.654 ----------Pressed Level # = 1-------------
Dec 20 10:59:32.660 ++++++++++++++++++++ LEVEL #1 +++++++++++++++++++++++++++++++++++++
Dec 20 10:59:32.661 display.contentCenterWidth =
Dec 20 10:59:32.661 nil
Dec 20 10:59:32.669 -------------------------
Dec 20 10:59:32.669 display.contentHeight=
Dec 20 10:59:32.669 1333
Dec 20 10:59:32.669 -------------------------
Dec 20 10:59:32.669 display.actualContentWidth =
Dec 20 10:59:32.669 800
Dec 20 10:59:32.669 -------------------------
Dec 20 10:59:32.669 display.actualContentHeight=
Dec 20 10:59:32.669 1333.3332519531
Dec 20 10:59:32.669 -------------------------
Dec 20 10:59:32.669 display.pixelWidth=
Dec 20 10:59:32.669 480
Dec 20 10:59:32.669 -------------------------
Dec 20 10:59:32.669 display.pixelHeight=
Dec 20 10:59:32.670 800
Dec 20 10:59:32.670 -------------------------
Dec 20 10:59:32.670 ++++++++++++++++++++ LEVEL #1 +++++++++++++++++++++++++++++++++++++
Dec 20 10:59:32.670 +++++++++++++++++++++TABLE TOP WIDTH/HEIGHT++++++++++++++++++++++++++
Dec 20 10:59:32.670 Table Top Width =
Dec 20 10:59:32.670 512
Dec 20 10:59:32.670 ---------------------
Dec 20 10:59:32.670 Table Top HEIGHT =
Dec 20 10:59:32.670 512
Dec 20 10:59:32.670 +++++++++++++++++++++TABLE TOP WIDTH/HEIGHT++++++++++++++++++++++++++
config.lua
--calculate the aspect ratio of the device local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 800 or math.floor( 1200 / aspectRatio ), height = aspectRatio \< 1.5 and 1200 or math.floor( 800 \* aspectRatio ), scale = "letterBox", fps = 30, imageSuffix = { ["@2x"] = 1.3, }, }, --------------------------------------------- license = { google = { key = "my google key", }, }, }
Let me know if I failed to include everything.
Thanks,
Lori