How to include dual graphics for the iPhone Retina display with Cocos2D

This hint comes from Elliot McAllister. Thanks!

What we need to do is simply make a dual set of graphics and name the larger ones with -hd.png

example.png  / example-hd.png

Then the trick is to go into the delegate.m and on line 73 and 74 uncomment. See the attachment…

click to enlarge

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s