update notes from cocos2d-1.0.1-x-0.12 to cocos2d-1.0.1-x-0.13.0-beta release

update notes from cocos2d-1.0.1-x-0.12 to cocos2d-1.0.1-x-0.13.0-beta release
0.0 0


Today, cocos2d-1.0.1-x-0.13.0-beta is released.

And if you want to update to this new version, there are some minor changes you may need to do when you updated.

  1. CCTouch remove the view() method.

So, if you want to detect touches, you need change your code like below.


`CCPoint touchPoint = touch->locationInView( touch->view() );


`CCPoint touchPoint = touch->locationInView();

  1. ccc4() has changed to ccc4f().

That’s straight-forward changed. Just rename your function call from ccc4() to ccc4f().

BTW, there is another change that the android.mk under helloworld folder is gone. You may take your eyes on that and check if everything is fine if you build iOS & Android dual-platform project like me.

BTW2, don’t forget to take a look on our cocos2d-x game: ChickenEggs both on iOS and Android. Now we have integrated facebook and twitter share features on that.(・ω・)

ChickenEggs iOS version : http://itunes.apple.com/app/id446767688
ChickenEggs Android version : https://play.google.com/store/apps/details?id=com.zhihmeng.ChickenEggsX

This post is also available on my blog : http://blog.molioapp.com/2012/03/update-notes-from-cocos2d-101-x-012-to.html


Sorry for the late information, I already saw someone has shared the same information.


No, you are appreciated too.


BTW, is the guide of original hybrid project still right ?

Because I find the build_native.sh, Android.mk and Application.mk are different from old ones.

I am trying to do my best to modify them to get to work.

Just compare and try to find out the differences.

The original hybrid project guide : http://gameit.ro/2012/01/creating-an-iphone-and-android-cocos2d-x-hybrid-project-updated/


Hello,I ported chipmunk and BOX2D of “all versions of 11,12,and 13.0-beta” to the Android Apps
with changing Android.mk and others
and organized collectively(Abstract) as this url’s web page below.

Please also see the movie below.



Sorry, I can’t catch your meaning.
What did you mean “I ported chipmunk and BOX2D of”all versions of 11,12,and 13.0-beta" to the Android Apps"?