In Depth iOS & Cocos2D Performance Analysis with Test Project

On November 17, 2011, in idevblogaday, by Steffen Itterheim

I took Mike Ash’s performance measuring code from 2008 with the improvements made by Stuart Carnie in early 2010 and turned that into a performance measuring project for 2012.

I know it’s still 2011, consider this a forward-looking statement. In any case, the test project is available for download, ready to run, includes Cocos2D v1.0.1 and is relatively easy to modify for your own needs. This project is also available on my github repository where I host all of the iDevBlogADay source code.

Since numbers are so dry and hard to assess, you’ll find the rest of this post garnered with charts and conclusions based on the results obtained from iPhone 3G, iPod 4 and iPad.

Continue reading »

Andreas Löw has released an updated version (v2.1) of his Texture Atlas creation tool called Texture Packer (Pro). The Pro version ($17.95) provides you with a GUI interface, the non-Pro version ($9.95) is a command line tool. The latter actually runs behind the scenes in the GUI version.

Here’s the list of changes introduced in Texture Packer v2.1:

The free version is now enhanced so that you can create textures up to 2048×2048 pixels without paying a single cent!

The free PVR/PVR.CCZ previewer lets you view the images – just doubleclick them in finder! Including preview for PVRTC.

Other features:

  • *.pvr and *.pvr.ccz previewer! (free for all)
  • AutoSD allows automatically creation of standard resolution images from highres images (–auto-sd) (pro/cli)
  • Process *.tps files from command line (pro)
  • Drag’n’drop sprites to tree view to add them
  • PVRTC2/PVRTC4 compression
  • Enhanced color reduction quality (pro/cli)
  • Additional dithering algorithm (Atkinson)
  • Linear quantization
  • Nearest neighbour quantization
  • Premultiply alpha (pro/cli)
  • Option to disable automated alias creation
  • Choose heuristics for MaxRects algorithm (pro/cli)
  • Creation of non power of 2 textures

The update is available using auto-update or download from:

Read more about the Texture Packer features, read the Texture Packer manual (PDF) or go directly to the shop (Share*it!).

Add your link to the Cocos2D Linkvent Calendar

Do you have something to share with the Cocos2D community? I haven’t received enough submissions to fill all the days until Xmas, although I do have enough links to post one each day, I’d rather post a link to your website or blog post.