Thursday, February 19, 2009

cocos2d for iPhone v0.7 released

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


New features since v0.6.3:

Effects (AKA mesh effects, AKA grid effects):
cocos2d v0.7 let's you manipulate the CocosNode's texture like a grid. You can create astonishing effects on your nodes by executing some of the Grid actions.
For further information read this post:
http://blog.sapusmedia.com/2009/02/introduction-to-effects-in-cocos2d.html

Cocos Live (High Score Server):
cocos2d v0.7 comes with an API that let's you upload your high scores to a free high score server called Cocos Live.
For further information read this post:
http://blog.sapusmedia.com/2009/02/cocos-live-high-score-server-for.html

Improved TileMapAtlas:
cocos2d v0.7 let's you read/write the TileMapAtlas in runtime.
For further information read this post:
http://blog.sapusmedia.com/2009/02/read-write-tilemapatlas-at-last.html

Improved Alias/Antialias support:
cocos2d v0.7 has a new API to handle your aliased/antialiased textures.
For further information read this post:
http://blog.sapusmedia.com/2009/02/antialiased-aliased-textures-in-cocos2d.html

PVRTC full support:
cocos2d v0.7 supports the "full" PVRTC format, including PVRTC images with mipmap textures.
For further information read this post:
http://blog.sapusmedia.com/2009/02/pvrtc-support-in-cocos2d.html

Fast Director:
cocos2d v0.7 has a new Director, that triggers the main loop every frame. This let's you gain some FPS in certain conditions.
For further information read this post:
http://blog.sapusmedia.com/2009/02/gaining-some-fps-in-your-game.html

Attach/Detach:
cocos2d v0.7 has a new API that let's you attach/detach run/restart the director.
For further information please see the AttachDemo example that comes with cocos2d.


How to convert a v0.6.3 project to v0.7.0 ?
Please read this file:
http://cocos2d-iphone.googlecode.com/svn/trunk/tools/convert_0_6_to_0_7.txt


Full Changelog:
  • Action: elapsed is a property (issue #203)
  • Actions: EaseIn/Out added. Cubic/Quad removed (issue #195)
  • Atlas: Fixed black line (issue #135 and issue #47)
  • Atlas: Works when GL_CULL_FACE is enabled (issue #179)
  • Atlas: updateAltasValues renamed to updateAtlasValues (issue #198)
  • CocosLive: added client and example that uses the CocosLive service (issue #175)
  • CocosNode: children is a property (issue #185)
  • CocosNode: rotate before scale (issue #217)
  • Demos: Creating Window and attaching cocos2d to it (issue #180)
  • Demos: Texture2dDemo shows how to load PVR images and PVR Mipmap images (issue #112)
  • Demos: Added AttachDemo (issue #180)
  • Demos: Added EffectsDemo and EffectsAdvancedDemo (issue #183)
  • Director: OpenGLview is attached to a given UIView/UIWindow (issue #180)
  • Director: winSize returns a CGSize (not a CGRect) (issue #159)
  • Director: added FastDirector (issue #145)
  • Director: dispatch missing events in main loop (issue #146)
  • Director: renamed runScene with runWithScene (issue #194)
  • Director: SignificantTimeChange fixed (issue #6)
  • Effects: Added Effects support (Grid and TiledGrid) (issue #183)
  • Effects: Basic: StopGrid, ReuseGrid (issue #183)
  • Effects: Grid: Waves3D, FlipX3D, FlipY3D, Lens3D, Ripple3D, Liquid, Shaky3D, Waves, Twirl (issue #183)
  • Effects: Tiled: ShakyTiles3D, ShatteredTiles3D, ShuffleTiles, FadeOutTRTiles, FadeOutBLTiles, FadeOutUpTiles, FadeOutDownTiles, TurnOffTiles, WavesTiles3D, JumpTiles3D, SplitRows, SplitCols (issue #183)
  • Experimental: Added StreakDemo (issue #171)
  • Menu: aligItemsVerticallyOld removed. (issue #196)
  • MenuItemFont: can be changed in runtime (issue #202)
  • MenuItemFont: assign correct size and documented isEnabled (issue #132)
  • Particle: Buffers updated on update (issue #163)
  • Sprite: initWithPVRTCFile is deprecated. will be removed in v0.8 (issue #197)
  • Texture: Support for full PVRTC (issue #112)
  • Texture: Easier to set Alias and/or AntiAlias texture parameters (issue #135 and issue #47)
  • TileMapAtlas: it is readable / writeable now (issue #200)
  • Transitions: added new Effects transitions: SplitRowsTransition, SplitColsTransition, TurnOffTilesTransition, FadeTRTransition, FadeBLTransition, FadeUpTransition, FadeDownTransition (issue #187)
  • Xcode: treat warnings as errors (issue #201)

Thank you for sending patches, opening issues, fixing bugs, helping people in the forum, sending suggestions, testing the beta and rc versions.

Special thanks to Ernesto Corvi and On-Core for porting all the Effects code from cocos2d-pyhton to cocos2d-iphone!

2 comments:

Anonymous said...

Hey

Thx for the effort on cocos2d, this truly great stuff.
I have a question about the upgrade, I hope you could help
I've gone trough your upgrade guide and I've got my game going like it should except for 2 annoyances, touches ended doesn't get called anymore and MultiplexLayer doesn't automaticly stack the layers anymore.

Do you have any idea what I'm missing?

thx!

Anonymous said...

Nevermind, I figured it out ;)