I have a 40*40 image for the iphone version . For the ipad version am I need to draw another image ?
only if you want the image quality to be better.
this may help or confuse you more lol
http://docs.coronalabs.com/guide/basics/configSettings/index.html
You could use the corona scale content api
http://docs.coronalabs.com/api/library/display/newImageRect.html hope this help if you have any questions let me know. Happy coding
Also check you’re configuration file
shopButton = widget.newButton { defaultFile = "shopButton.png", overFile = "shopButtonPress.png", }
Can I use display.newImageRect for the widget.newButton
I believe the widget uses display.newImageRect
just set width and height params
I have another problem I have two sprites sprites.png and sprites@2x.png . How to display sprites.png for iphone and sprites@2x.png for ipad ?
that’s handled by the build.settings file. read though this http://docs.coronalabs.com/guide/index.html
only if you want the image quality to be better.
this may help or confuse you more lol
http://docs.coronalabs.com/guide/basics/configSettings/index.html
You could use the corona scale content api
http://docs.coronalabs.com/api/library/display/newImageRect.html hope this help if you have any questions let me know. Happy coding
Also check you’re configuration file
shopButton = widget.newButton { defaultFile = "shopButton.png", overFile = "shopButtonPress.png", }
Can I use display.newImageRect for the widget.newButton
I believe the widget uses display.newImageRect
just set width and height params
I have another problem I have two sprites sprites.png and sprites@2x.png . How to display sprites.png for iphone and sprites@2x.png for ipad ?
that’s handled by the build.settings file. read though this http://docs.coronalabs.com/guide/index.html