This article is all about my learning experience of cocos2d-html5 ~
I started to learn and use cocos2d-html5 from about 6 month ago — though I only do it in my spare time ~
To be frank I have been keeping an eye on this branch of cocos2d since the very early stage because that learning browser client side technology such as html, css and js has been a dream of mine since college ~ but have’t found a good entrance (thus got stuck with C++ and MFC for my college time)
And cocos2d-html5 light up my hope again 🙂
A inner command line layer for coocs2d project.
I’ve been playing with SpiderMonkey and JSBinding recently and here is a project containing what I’ve learned:
. How to use SpiderMonkey and JSBinding to mix cocos2d-x with JS scripts
. How to call functions between c++/JS
. How to pass args / receive args
. How to use custom functions
. How to play with delegate
The keynote is speech I gave at cocoachina gathering in Shanghai this weekend. The sample codes will be updated in this post later. Download
The content is all about what I’ve leant in the past week on cocos2d JS Binding.
I’ve been summarizing all the content and trying to write a simple guide using iBookAuthor — it’s 70% done already 🙂
A heated discussion from the forum today ?
An instructive new tutorial on a blog today ?
A time-saving code snippet someone shared today ?
A full-featured game went opensource on github today ?
So, I love to search these stuffs on the Internet and it always bring me joy when I spot something interesting.
But, the cocos2d family is growing in an astonished pace and it just cost me way too much time to do the search job everyday.
Fortunately I happen to learned cocos2d-tml5 recently and I also know some basics of python so I think it will be a good challenge to create a web application to solve the problem — and here comes the CocosNewsCenter.