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
Post a Comment