News

cocos2d-2.0-rc2-x-2.0.1 released

By zhangxm Posted 2012-06-29 02:40 Comments 44

Thanks to all contributors, we are glad to announce that cocos2d-rc2-x-2.0.1 is released.
You can download it here.

Features

  • Synchronize to cocos2d-iphone v2.0 rc2.
  • Implemented CCBIReader, which supports the latest CocosBuilder, for more information please checkout tests/ExtensionsTest/CocosBuilderTest.

Big improvements

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

Comments

  • GogoKodo

    This change has had some bad consequences for the lua binding because of all the function overloading now taking place with everything using create(…) functions. I made a post in the lua bindings forum, but it doesn’t get much traffic, see for details: http://cocos2d-x.org/boards/11/topics/12729

    2012-07-04 19:43
  • nicholas_shen

    which version of cocosbuilder is supported? i tried cocosbuilder 1.1, but can not open. the “fileVersion” in .ccb file is 3.

    2012-07-10 19:29
  • nicholas_shen

    for addition infomation, i use cocos2d-x 2.0.1

    2012-07-10 19:53
  • zhangxm

    It supports the latest code the time cocos2d-x 2.0.1 released, not a released version.

    2012-07-11 01:58
  • meroon

    I think I found a small bug in CCControlButtonLoader.cpp. All the defined properties for disabled states use 3 as an index, but cocos builder uses 4 for disabled state indices. For example, PROPERTY_BACKGROUNDSPRITEFRAME_DISABLED is defined as “backgroundSpriteFrame|3”, but in cocos builder it’s defined as “backgroundSpriteFrame|4”.

    I’m assuming this is done to accomodate for an over state at some point for platforms with pointing devices.

    2012-07-11 06:45
  • zhangxm

    Thank you.
    It has been resolved in #1384.

    2012-07-11 08:40
  • neoandsun

    1.the lua engine is dirty , i think the author of it didn’t take time to design it , the dependence of the luaEngine and cocos2dx chaos! it’s odd that ccobject has an reference id to luaobject, event if i don’t want use the lua engine! besides ,the life cycle of the luaEgnine is not defined, because of the singletons designer pattern,the sequence of destruct of ccdirector and LuaEngine is unknown! when the luaEngine destruct before the CCDirector, something go wrong with the autorelease object ! because the the autorelease objects are destroyed after the CCdirector, while the CCObject still call LuaEngine in their destruction!
    2.Because of 1, the Hello Lua Engine didn’t release the LuaEgine at all[]()[]() the reason of memory leak problem is not only not destroying the LuaEngine but also some other reason, because when i revise the life cycle problem , the memory leaks problem is still there!

    I hope the author take some times to think and design the Lua Engine!

    2012-07-15 14:40
  • neoandsun

    why remove CCDirector::setDeviceOrientation, it means Orientation will not not support only more in future?

    2012-07-18 11:25
  • lth3726381

    Does Cocos2d-x will only support win32,android,ios in future? :(

    2012-07-26 13:50
  • zhangxm

    It has already supported Mac OS X now.
    We will support as many platforms as we have enough resource.

    2012-07-27 01:36
  • zhangxm

    @neo sun

    About lua engine, it is maintained by a developer.
    I think he is busy these days, i will talk to him about the issues.

    About device orientation, you should set the orientation at the begin of the app.
    There were two methods to control device orientation.
    One is done by engine(CCDirector::setDeviceOrientation), the other one is done
    by OS. Now CCDirector::setDeviceOrientation is removed in cocos2d-iphone.
    So you can also use the method done by OS.

    More detail information please refer to About device orientation.

    2012-07-27 01:48
  • AsharSeo

    It proved to be Very helpful to me. Thank you so much And I hope that other readers will also experience how I feel after reading your article.

    Free Ebooks Directory
    http://ebooksdirnn.com/

    2015-04-16 06:01
  • AsharSeo

    I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.Free PDF Library
    http://pdfdownloadsff.com/handbook-of-qualitative-research-ebook

    2015-04-16 11:22
  • galaxyapple

    Thanks for sharing this. There are many events which are celebrated all over the world. we have a website about mothers day event so have a look at it.
    http://www.anzac-day2015.com
    http://www.whenismothersdayy2015.com
    http://www.happymothersdayimages2015.com

    2015-04-16 15:35
  • AsharSeo

    Thanks for sharing this. There are many events which are celebrated all over the world. we have a website about mothers day event so have a look at it.
    http://www.ketchupthemes.net/

    http://ketchupthemes.net/

    2015-04-20 07:00
  • AsharSeo

    There are many wearisome tasks involved in the strategy of residential new house purchase or even home switching..

    read more

    http://my.mpomponieres-prosklitiria-gamou.gr/

    2015-04-23 10:58
  • AsharSeo

    I am just amazed to see this top notch article today. This has really made my day, today. Thank you for giving this today. Keep it up! Disney princess..

    click this link
    https://vimeo.com/bevanevemysolicitors

    2015-04-26 10:13
  • AsharSeo

    Wonderful article, thanks for putting this together! This is obviously one great post. Thanks for more the valuable information and insights you have so provided here.
    generico

    http://medicinatestosterona.com/

    2015-04-28 11:03
  • lenovodell

    I have never read more interesting articles than yours before. You make me so easy to understand, and I will continue to share this site. how to unlock cell phones

    2015-04-28 12:02
  • AsharSeo

    I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work..

    vehicle inspection software

    http://www.stumbleupon.com/stumbler/homeinspectorss

    2015-04-30 09:58
  • mothers201
    2015-04-30 18:42
  • AsharSeo

    This post gives truly quality information. I’m absolutely going to look into it. in fact very useful tips are provided here. thank you so much. Keep up the good works....

    Ejaculation Guru Free Download

    https://archive.org/details/EjaculationGuruN

    2015-05-02 10:10
  • AsharSeo

    Because OpenGL ES has problem for some types of Graphic cards in previous release version, we have now implemented OpenGL instead.
    full body detox

    2015-05-03 10:20
  • AsharSeo

    I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work..

    dettagli del sistema

    2015-05-04 09:34
  • AsharSeo

    professionnalisme), mais volontairement mises en avant sur plusieurs sites internet.

    you can try these out

    2015-05-05 11:08
  • Slogummid

    We are looking to use these online educational essay writing services reviews for our school students and these essay services are written by so many colleges and so many online content writing services.

    2015-05-08 13:56
  • AsharSeo

    when the luaEngine destruct before the CCDirector,
    online helpdesk ticketing system free

    something go wrong with the autorelease object ! because the the autorelease

    2015-05-10 07:43
  • OnlineDiploma

    Your site is marvels and you have done actually amazing work. Your blog contains so many educational articles. I would like to say thanks for publishing these posts here…

    Visit: Accredited High School Diploma Online

    2015-05-12 06:51
  • AsharSeo

    This is excellent work! I was really hoping to seek some of your brilliant insights on this matter and you have provided me that. retirement living

    2015-05-13 08:05
  • robinjack1

    actually amazing work. Your blog contains so many educational articles. I would like to say thanks for publishing these posts here…seo service

    2015-05-13 09:28
  • AsharSeo

    Enjoy some great benefits of ads related to totally thoroughly gratifying internet site web page which will in addition in addition internet site..

    sash windows london

    2015-05-13 10:32
  • jhonmarshal

    OpenGL is now implemented and used for win32 instead of OpenGL ES. This will provide better stability, and makes porting games easier...
    www.itgroupworld.com

    2015-05-14 06:24
  • AsharSeo

    it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Marijuana news

    2015-05-16 08:54
  • AsharSeo

    I was really hoping to seek some of your brilliant insights on this matter and you have provided me that. custom product development

    2015-05-17 09:58
  • AsharSeo

    personally recommend to my friends. I am confident they will be benefited from this site utah web development

    2015-05-18 06:19
  • AsharSeo

    Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here...

    phone unlock services

    2015-05-18 11:15
  • AsharSeo

    The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface. walk in robe fit out

    2015-05-18 12:09
  • jackman30

    files of cocos2d-x engine into cocos2dx/platform/android/java directory, such as loft conversions london

    2015-05-18 17:25
  • AsharSeo

    like making wishes while blowing on a dandelion’s whispy white top fumigation

    2015-05-20 06:43
  • robinjack1

    We Are A Full-Service Provider Of High Quality Backlinks That Help Boost Traffic, Increase Rankings, And Build Authority. With Years Of Experience We Know Exactly What Type Of Manual Dofollow Blog Comments It Takes To Quickly Increase Your Online Visibility
    Blog comments

    2015-05-20 10:01
  • jackman30

    Duplicate objects easy and with specified offset. click here

    2015-05-22 18:31
  • hanzkirt

    I hаve rесentlу started а blog, thе info yоu provide оn thіѕ site hаs helped mе greatly. Thеrе іs оbviouѕly а lot tо knоw аbоut this. I thіnk hе dіd sоme good thingѕ іn features also. Kеep working, great job! Thаnkѕ fоr а vеrу interesting blog. Whаt elѕe cаn I gеt thаt kind оf information written іn suсh а perfect approach? I hаvе а company thаt I"m simply nоw operating on, аnd I"ve beеn оn thе loоk оut fоr ѕuch information. dress batik modern - baju blus batik - batik pekalongan -baju batik pekalongan murah - toko baju batik pekalongan online - batik solo cantik - baju batik solo - batik solo modern online - dress batik couple - baju dress batik - dress batik cantik wanita modern - baju gamis batik sarimbit couple musilm - batik sarimbit modern - batik sarimbit couple pasangan - batik pekalongan - baju kemeja batik modern - kemeja batik modern

    2015-05-22 19:29
  • jackman30

    which supports the latest CocosBuilder, for more information please checkout [Official website]](http://www.phen375reviewsguide.com/
    )

    2015-05-23 08:27
  • lenovodell

    I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles προωθηση ιστοσελιδων

    2015-05-24 08:28

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.