By zhangxm Posted 2012-06-29 02:40 Comments 13
Thanks to all contributors, we are glad to announce that cocos2d-rc2-x-2.0.1 is released.
You can download it here.
- Synchronize to cocos2d-iphone v2.0 rc2.
- Implemented CCBIReader, which supports the latest CocosBuilder, for more information please checkout tests/ExtensionsTest/CocosBuilderTest.
Moved all java files of cocos2d-x engine into cocos2dx/platform/android/java directory, such as Cocos2dxBitmap.java.
Therefor the procedure of setting up an android project is changed.
You can refer to this article How to build and run HelloWorld on Android(gles20 branch).
Add “create” functions as replacement for static constructors, because they are more friendlier to c++ programmers.For example, use CCSprite::create(CCTexture2D **pTexture) instead of CCSprite::spriteWithTexture.
All static constructors are marked as deprecated, and will be removed in the future. You can refer to ] for more detail.
OpenGL is now implemented and used for win32 instead of OpenGL ES. This will provide better stability, and makes porting games easier.
Changed boolean getter and settter to a more readable and meaningful version, for example,getIsVisible()* is now *isVisible\ and similarlysetIsVisible(true)* is now *setVisible\ and vice versa.
For more detail, look for “Modify some function names to make them more readable and more meaningful” in ].
h3. Bug fixes
** win32: OpenGL ES crashes is now fixed. Because OpenGL ES has problem for some types of Graphic cards in previous release version, we have now implemented OpenGL instead.
* IOS: Fix the crash that when HOME button is clicked while a background music is playing
For the full change log please refer to here