Wednesday, December 24, 2008

cocos2d for iPhone v0.6.2 released

Hey, I've just released cocos2d for iPhone v0.6.2

Download: http://cocos2d-iphone.googlecode.com/files/cocos2d-iphone-0.6.2.tar.gz

Changelog:
  • Actions: Accelerate & Speed ratios can be modified at runtime (issue #127)
  • CocosNode: added absolutePosition (issue #9 & issue #122)
  • CocosNode: tag is propagated when adding children (issue #118)
  • CocosNode: change change z-order at runtime (issue #59)
  • Demos: Chipmunk_Accel supports multiple touches (issue #129 and issue #116)
  • Demos: fixed typo in MenuTest (issue #111)
  • Director: Touches work fast again (issue #126)
  • License: removed "GNU LGPL" from sources files (issue #115)
  • License: fixed grammar errors (issue #120)
  • Sprite & Animation: can be created from Texture2D, updated SpriteDemo example (issue #113)
  • TextureMgr: Avois duplicate cache (issue #121)
  • Transitions: FadeTransition supports variable color. Updated TransitionsDemo (issue #129)

Performance issues:
  • You will notice that your games consumes much less RAM thanks to #issue 121.
  • You will notice that the Touch events are propagated a little bit faster, just like in v0.5.x
New features:
  • FadeTransition supports color. Default is black
  • You can reorder a node using [parent reorderChild:child z:newZValue];
  • You can calculate the absolute position of a child using: [child absolutePosition];
  • You can create Sprites and Animations with Textures2D objects: [Sprite spriteWithTexture:tex];
  • You can change the Accelerate ratio and Speed ratio in runtime.
Compatibility:
  • zOrder (from CocosNode) is no longer a read-write property. It is now read-only.

2 comments:

Stuart said...

Excellent stuff, mate. I look forward to using and contributing to this framework.

Cheers,

Stu

riq said...

Thanks Stuart,
Are you the one who is porting Vice/Frodo to iPhone ?
Good luck with that!