ipad - Universal cocos2d game to support iPad3 -


how image resources named ipad & ipad hd versions in universal app?

when supporting normal , hd images iphone use imagename.png & imagename-hd.png. if make universal right in assuming have rename images , use imagenameipad.png & imagenameipad-hd.png?

please let me know how naming convention works.

thanks abhinav

the correct way in cocos2d (version 2.0 or 1.1beta) this:

normal iphone:

image.png

retina iphone:

image-hd.png

normal ipad:

image-ipad.png

retina ipad:

image-ipadhd.png

you must call image.png in code, code detect device , use file properly.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -