Posts Tagged ‘tutorials’

Icons required for a universal app

Posted in code on June 30th, 2011 by admin – Be the first to comment

When preparing my universal app for iTunes I was having trouble with getting the icon.png file the right size. When I saved a 57×57 pixel icon iTunes complained about needing a 72×72 pixel icon for the iPad an vice versa for the iPhone. So I googled and found there are a couple of things you need to do.

STEP 1

Create all the icons listed in here under Table 3: Universal apps icon requirements. Then add them to your project in xcode. (you know, drag em into your resources folder)

http://developer.apple.com/library/ios/#qa/qa1686/_index.html

STEP 2

On that same page down the bottom are the instructions for how to enter these to your info.plist. Follow them, or just add this to your info.plist if it isn’t in there already.  (I prefer to edit the info.plist myself in textEdit) If you are using a cocos project, especially 0.99.5 or newer, it should already be in there.

<key>Icon files</key>
<array>
     <string>Icon.png</string>
     <string>Icon@2x.png</string>
     <string>Icon-72.png</string>
     <string>Icon-Small-50.png</string>
     <string>Icon-Small.png</string>
     <string>Icon-Small@2x.png</string>
</array>

STEP 3

If you have the following in your info.plist,

<key>CFBundleIconFile</key>
<string></string>

replace it with

<key>CFBundleIconFiles</key>
<array>
     <string>Icon.png</string>
     <string>Icon-72.png</string>
</array>

cocos2d game tutorial

Posted in Uncategorized on June 10th, 2010 by lucy – Be the first to comment

Great tutorial covering all the basics of cocos2d.  Sprites, animation and sound effects.

http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial

tile game tutorial

Posted in Uncategorized on June 3rd, 2010 by matt – Be the first to comment

looks pretty good:

http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d

cocos2d sprite animation

Posted in code on June 2nd, 2010 by lucy – Be the first to comment

Next stop, sprite animation. I’m going to check out this tutorial.

http://getsetgames.com/2010/04/18/how-to-animate-sprites-in-cocos2d/