Friday, December 5, 2008

cocos2d for iPhone v0.6.0 released



Hey, I've just released v0.6.0!!

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

ChangeLog:
  • Actions: Sequences of Repeats fixes (issue #80)
  • Actions: Added RepeatForEver. Added example in SpritesDemo example (issue #93)
  • Actions: Repeat can be reversed (issue #92)
  • Actions: Memory leaks detected by static analyzer. (issue #90)
  • CocosNode: added support for Parallax scroller. Created ParallaxDemo example (issue #89)
  • CocosNode: removed deprecated 'named' methods (issue #91)
  • CocosNode: lazy allocations with timers, children & actions (issue #94)
  • CocosNode: added removeAndStop, removeAndStopByTag and removeAndStopAll (issue #101)
  • Demos: fixed memory leaks in AnchorDemo, SpritesDemo and RotateWorld (related to issue #90)
  • Director: propagation of Touch events can be stopped (issue #96)
  • Documentation: properties are documented (issue #100)
  • Menu: conforms to CocosNodeSize protocol (issue #99)
  • Menu: support both vertical & horizontal alignment (issue #97)
  • Menu: added MenuItemToggle (issue #83)
  • Particle: Added ParticleSnow (issue #102)
  • Texture2D: creates the textures with clamp to edge and mag filter to linear (issue #95)

Regarding Parallax Scrolling (issue #89) read this:
http://blog.sapusmedia.com/2008/12/cocos2d-parallax-scroller.html

Regarding the new way to propagate events (issue #96) read this:
http://blog.sapusmedia.com/2008/12/cocos2d-propagating-touch-events.html

Regarding RepeatForever and Repeat (issue #93 and #80) read this:
http://blog.sapusmedia.com/2008/12/cocos2d-repeat-vs-repeatforever-vs.html

Regarding the new way to align Menus (issue #97) read this:
http://blog.sapusmedia.com/2008/12/cocos2d-menu-alignment-in-v06.html

I will continue to write articles regarding the new features in the blog.

Important: in cocos2d/tools/ you will find a tool that converts v0.5.3 code to v0.6.0. It is a very simple sed script. It is very incomplete, but will help you with some basic conversions.

No comments: