Monthly Archive for March, 2011

cocos2d v1.0.0-rc released

I’m happy to announce that cocos2d for iPhone v1.0.0-rc is available for download:

Highlights:

  • Xcode 4 templates both for iOS and Mac. Includes: cocos2d, cocos2d + Box2d and cocos2d + Chipmunk templates
  • Updated 3rd party libraries: uthash, FontLabel, TouchJSON
  • And many bug fixes

Release Notes:

API Reference:

Full Changelog:

Reorder Sprite branch:

I would appreciate if you can test the 1.0.0-RC in your game / apps, and report any kind of bug / issue that you might find.

Thanks.

UPDATE: To install the templates, use the following command from a Terminal:

$ cd cocos2d-iphone
$ ./install-templates.sh -u -f

cocos2d Xcode 4 templates

cocos2d for iPhone Xcode 4 templates can be downloaded from here:

IMPORTANT:

As you might know, Xcode 4 has a new way to define templates. The new format is not documented, so, in order to create the new templates a lot of copy & paste, and trial & error was needed.

The current cocos2d Xcode 4 templates are not as polished as the Xcode 3 ones, but they include the basic functionality.

The package includes:

  • cocos2d template
  • cocos2d + Box2d template
  • cocos2d + Chipmunk template

The “file” and “Mac OS X” templates are not ready yet.

INSTALL (Option A):

eg:

$ mkdir -p ~/Library/Developer/Xcode/Templates
$ cd ~/Library/Developer/Xcode/Templates
$ tar xzvf cocos2d-1.0.0-beta_templates.tar.gz

INSTALL (Option B):

  • Download “develop” branch from github
  • run the install script
$ cd cocos2d-iphone
$ git checkout develop
$ git pull
$ ./install-templates.sh -f -u

cocos2d for iPhone v1.0.0-beta released

Hi,

I’m happy to announce that cocos2d v1.0.0-beta is available for download:

Release Notes: Release Notes-1.0.0-beta

API Ref: API Reference 1.0.0-beta

Changes:

  • [NEW] Actions: Repeat and RepeatForEver has getter/setter for the inner action (issue #1110)
  • [NEW] LayerGradient: Added “compressed interpolation” (default mode) in order to display all graident’s colors in any vector
  • [NEW-MAC] Added CC_DIRECTOR_INIT(). It is possible to create a Mac Window programatically
  • [NEW-MAC] EventDispatcher: Added support for Touch events
  • [FIX] CocosDenshion: Improved logging
  • [FIX] CocosDenshion: Fixed excessively large or negative gain values cause distorted audio in the simulator.
  • [FIX] CocosDenshion: Added guards to prevent memory corruption caused by invalid parameters
  • [FIX] CocosDenshion: Define some constants for defaults, make const parameter on buffer asynch load method
  • [FIX] CCArray: insertObjectAtIndex checks bounds (issue #1121)
  • [FIX] Director: Fixed possible crash when purging the TextureCache
  • [FIX] Layer: CCMultiplexLayer deprecated. New name is CCLayerMultiplex
  • [FIX] Particles: consumes less memory (12 bytes less per particle) and are a bit faster
  • [FIX] ProgressTimer: Consumes less memory
  • [FIX] RenderTexture: Added possibility to save buffer in any place (issue #1100)
  • [FIX] RenderTexture: re-added getUIImageFromBuffer method. Supports RetinaDisplay
  • [FIX] Sprite: flipx/flipy don’t modify the contentSize (issue #1073)
  • [FIX] SpriteFrame: setRect sets pixels too. setRectInPixels sets points too (issue #1088)
  • [FIX] Templates: ItunesArtwork renamed to iTunesArtwork (issue #1092)
  • [FIX] Templates: HelloWorld -> HelloWorldLayer and other improvements (issue #873)
  • [FIX] TextureCache: asyncObject#dealloc uses CCLOGINFO instead of CCLOG (issue #1096)
  • [FIX] TiledMap: TMX maps work with zlib compression (Tiled v0.6)
  • [FIX-MAC] Director: runLoop enables NSTimers events (issue #1107)
  • [FIX-MAC] EventDispatcher: flagsChanged is triggered correctly (issue #1066)
  • [FIX-MAC] EventDispatcher: queue & dispatch events are synced (issue #1083)
  • [FIX-MAC] LabelTTF: alignment works OK (issue #1073)
  • [FIX-MAC] Menu: Menu doesn’t hang up with invisible menus (issue #1070)
  • [FIX-MAC] Menu: Tracking “touches” works as expected (issue #1114)
  • [FIX-MAC] Templates includes AudioToolbox and OpenAL frameworks

Also, v1.0.0-beta + sprite reorder fixes is available for download:

This branch is the same as v1.0.0-beta with Araker’s reorder-sprite changes. If your game adds/removes/reorders many sprites per frame, I suggest trying this version instead.

What’s next:

  • v1.0-rc in 3~4 weeks: It will includes fixes, fixes, fixes, and Xcode 4 templates
  • v1.0 , in 6~8 weeks: It will include more fixes and fixes.

THIS VERSION INCLUDES A CRITICAL BUG FIX. Please, use this version or apply this patch.

Please, let us know if you find any bug in this version. Thanks.

 




Social Widgets powered by AB-WebLog.com.