Monthly Archive for September, 2010

cocos2d v0.99.5-beta3 released. API uses Points instead of Pixels

cocos2d v0.99.5-beta3 just has been released.

Download: cocos2d-iphone-0.99.5-beta3.tar.gz

Release Notes: Release Notes v0.99.5-beta3

API Reference: v0.99.5-beta3 API Reference

Highlights:

  • The cocos2d API uses Points instead of Pixels (Retina Display friendly)

Full Changelog: CHANGELOG

Creating Retina Display games:

cocos2d v0.99.5-beta2 released. Added Mac support.

cocos2d v0.99.5-beta2 is available for download:

Release Notes:

API Reference:

Full ChangeLog:

Highlights:

  • Added support for Mac. Your cocos2d / CocosDenshion game can be ported to Mac with minimal changes

Regarding the Mac Port

cocos2d for Mac works as excepted with the following exceptions:

  • CCParticleSystemPoint is not supported. Use CCParticleSystemQuad instead.
  • CCTexture2d / CCLabelTTF don’t support FontLabel
  • CCRenderTexture doesn’t support “save image” yet
  • It doesn’t work with garbage collection yet
  • It doesn’t support fullscreen mode yet
  • It doesn’t support touches yet.

To port your cocos2d / CocosDenshion game to Mac, you have to:

  • Modify the way you initialize / create the CCDirector and the OpenGL view.
  • Replace the touches and/or accelerometer events with Mouse and/or keyboard events
  • The rest is the same.

The cocos2d-mac.xcodeproj includes several tests that show how to support mouse events and how to initialize the CCDirector / OpenGL view.

The game Sapus Tongue was already ported to Mac. You can find some details about how it was ported in this thread.

Are you porting your game to Mac ? Let use know when the game is finished! :)




Social Widgets powered by AB-WebLog.com.