I’m doing my main menu and i’m trying to load the menu image and only a piece of the image shows up. the image size is set for the galaxy 3 i’ve created the dynamic scaling and orient settings and it still shows only a piece. how do i fix this?
set x y to screen center
in the main lua?
set the objects x y to screen center
in which file though? I haven’t programmed in years so i’m basically a noob at it again
hey when my app is on my device it is for the iPhone 4 but I have the 5s and it isn’t sized right. how do I fix this?? Im so mad right now
do you have a
Default-568h@2x
image in the same location as the main.lua file
what’s your config file look like
have you read this
http://forums.coronalabs.com/topic/43609-making-an-app-for-both-iphone-4-and-iphone-5/?fromsearch=1
I dont understand what is going on there because I did what he said and it looks all messed up on my device.
Just used the ImageRect and now nothing shows up. i typed it like this: local display = display.newImageRect(“Menu.png”, “center”, “center”)
first you cant use display as the variable name
second “center” isnt a value
do something like this.
local myMenu = display.newImageRect(“Menu.png”, display.contentCenterX, display.contentCenterY, the_width_of_image_here, the_height_of_image_here)
ps. make sure file name is correct. devices are case sensitive
set x y to screen center
in the main lua?
set the objects x y to screen center
in which file though? I haven’t programmed in years so i’m basically a noob at it again
hey when my app is on my device it is for the iPhone 4 but I have the 5s and it isn’t sized right. how do I fix this?? Im so mad right now
do you have a
Default-568h@2x
image in the same location as the main.lua file
what’s your config file look like
have you read this
http://forums.coronalabs.com/topic/43609-making-an-app-for-both-iphone-4-and-iphone-5/?fromsearch=1
I dont understand what is going on there because I did what he said and it looks all messed up on my device.
Just used the ImageRect and now nothing shows up. i typed it like this: local display = display.newImageRect(“Menu.png”, “center”, “center”)