I am confused on the differences between using @2x or -hd Is one more efficient or quicker than the other? I am using Cocos2D.
I'm pretty neither is quicker than the other
In my case, since I like using Cocos together with UIKit, I use the -hd suffix for all the Cocos related images (textures and such), and @2x for images that will be used with UIKit.
@2x is used before CCDirector is loaded..so the @2x is a must for the loading screen and icons
if the CCDirector is already loaded (aka..you're in game) you can use either @2x or -hd but if i remember corectly -hd is slightly slower and you have to enable retina display in app delegate... remove comments of:
if (![director enableRetinDisplay:YES]) CCLOG(@"Retina Display Not supported");
you don't need to enable retina display if you're using @2x
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With