Hey guys,
I am trying to rebuild my game for ipad using twice the resolution images, i have alot of buttons in my game using the ui library. Im trying to figure out how i can specify the dimensions for the images i use in the ui buttons. here is what im trying but it gives me an error.
[lua]local buttonGraphic = display.newImageRect(“challenges_text_btn.png”, 164, 42)
challengesText = ui.newButton{
default = buttonGraphic,
onEvent = challengeMakeReady,
id = “challengebutton”
}[/lua]
anyone know the correct way to get this working? thanks [import]uid: 19620 topic_id: 17873 reply_id: 317873[/import]