2012年1月18日 星期三

Cocos2d 官方網站查到的 Release Note 中,和舊的 class or method 無法使用有關的修正事項 for 1.0.1.


cocos2d-iphone release-1.0.1 CHANGELOG


利用 deprecat 這樣的關鍵詞彙 可以在 Release Note 裡頭找到一些到 ver 1.0.1 版之後,不再被支援的 method.
//  ------------------------------------------------------------------------------------------------

version 1.0-rc - 29-Mar-2011
. [NEW] All: Removed many deprecated methods and classes that were scheduled for removal on v1.0

version 1.0-beta - 01-Mar-2011
. [NEW] Layer: CCMultiplexLayer deprecated. New name is CCLayerMultiplex

version 0.99.5-rc0 - 25-Oct-2010
. [NEW] AnimationCache: New class. It deprecates the CCSprite#animation methods (issue #848)
. [NEW] Animation: simplified API. Name is no longer needed. Deprecated API that uses name.

version 0.99.5-beta2 31-Ago-2010
. [NEW] Label: CCLabelAtlas#labelAtlasWithString: -> labelWithString. Old method deprecated
. [NEW] Label: CCBitmapFontAtlas deprecated. Use CCLabelBMFont instead.
. [NEW] Label: CCBitmapFontAtlas#bitmapFontAtlasWithString -> labelWithString. Old method deprecated.

version 0.99.5-beta 30-Jul-2010 - AKA 'CJ the artifact killer'
. [NEW] SpriteSheet is deprecatd. Use SpriteBatchNode instead.

//  ------------------------------------------------------------------------------------------------


利用 rename 這樣的關鍵詞彙 可以在 Release Note 裡頭找到一些到 ver 1.0.1 版之後,不再被支援的 method.
//  ------------------------------------------------------------------------------------------------

version 1.0-beta - 01-Mar-2011
. [FIX] Templates: ItunesArtwork renamed to iTunesArtwork (issue #1092)

version 0.99.5-rc1 - 15-Nov-2010
. [FIX] Particles: centerOfGravity renamed to sourcePosition (issue #1026)


version 0.99.5-beta2 31-Ago-2010
. [NEW] Actions: files renamed: CCXXXAction.[hm] -> CCActionXXX.[hm]
. [NEW] Actions: Using new naming convetion:
               CCInstantAction -> CCActionInstant
               CCIntervalAction -> CCActionInterval
               CCEaseAction -> CCActionEase
               CCCameraAction -> CCActionCamera
. [NEW] Action: CCPropertyAction renamed to CCActionTween
. [NEW] Director: New naming convention: CCnameDirector -> CCDirectorName
. [NEW] Label: CCLabel renamed to CCLabelTTF

version 0.99.5-beta 30-Jul-2010 - AKA 'CJ the artifact killer'
. [FIX] Tests: AtlasTest renamed to LabelTest

version 0.99.4-rc3 - 01-Jul-2010
. [FIX] Director: renamed mainLoop -> drawScene

//  ------------------------------------------------------------------------------------------------


疑似與 CCSlideInRTransition to CCTransitionSlideInR 這一類的 method 有關的修正.
CCXxxTransition -> CCTransitionXxx
//  ------------------------------------------------------------------------------------------------

version 0.99.5-beta2 31-Ago-2010
. [NEW] Transitions: new transition naming convention (issue #946)


//  ------------------------------------------------------------------------------------------------
//  ------------------------------------------------------------------------------------------------

----

還在看範例的初學者の小試身手


沒有留言:

張貼留言