A published book on iBookStore recoding my learning experience from cocos2d-iphone
to cocos2d-html5
.
- The start - Porting an ios game to html5
- Introduction to cocos2d-html5
- Why html5 ?
- Why cocos2d-html5 ?
- Something about this book
- Tools and knowledge -A summary onwhat we need for each step
- A checklist of the what we need
- Basic stuffs - Porting to cocos2d-html5
- Comparison between cocos2d-iphone against cocos2d-html5
- On porting CallFunc to cocos2d-html5
- On porting Array and Dictionary to cocos2dhtml5
- Special stuffs - Porting to cocos2d-html5
- On “function” in cocos2d-html5
- On Singleton in cocos2d-html5
- On Delegate in cocos2d-html5
- On Timer in cocos2d-html5
- On NSSelectorFromString in cocos2d-html5
- On block in cocos2d-html5
- Time for cocosbuilder -One tool two versions
- Introduction to cocosbuilder
- Comparison between cocos2d-iphone againstcocos2d-html5 using cocosbuilder
- Watch out for traps -what we should notoverlook when using cocosbuilder
- All kinds of traps
- cocosbuilder in-depth - MVC in cocos2dhtml5
- Watch out for the dynamic feature in javascript
- MVC (View) in cocosbuilder + cocos2d-html5
- MVC (Controller) in cocosbuilder + cocos2dhtml5
- Play with cocos2d-html5 - Various IDE and debug tools
- IDE for development - Jetbrains WebStrom
- Setting up a local server
- Co-debug our game in LAN
- Quick debug - notepad + Google chrome
- Debug offline on ipad - textastic + firebug
- Time for release -Pack your game with ant
- Using ant to pack your game
- Code modification
- Play with the world - Using Parse forLeaderboard in cocos2d-html5
- Introduction to Parse
- Getting start with Parse
- Using Parse to load/save data
- On Querying and Sorting data
- Using anonymous function with asynchronousParse API
- Welcome twitter -Using web intents totweet in game
- Introduction to twitter web intents
- The usage of twitter web intents
- Welcome heroku - Prepare for Facebook release
- Introduction to heroku
- Installing heroku
- Using heroku with git command
- Deploying the game as php app
- Welcome Facebook - Connect our game to Facebook
- Prepare for connecting with Facebook
- Authorization with Facebook
- Playing with Dialogs in Facebook
- Decorate our game page
- Welcome SinaAppEngine -Prepare forSina Weibo release
- Introduction to Sina App Engine
- Sina App Engine code management
- Deploying the game as php app
- Welcome Sina Weibo -Connect our game to Sina Weibo
- Prepare for connecting with Sina Weibo
- Authorization with Sina Weibo
- Playing with Weibo publisher
- My site my game - Embedding the game into our site
- Embedding game in a post
- The magic of HTML5 - Embedding the game into a book
- Changing our game to widget
- The destination - Looking back the trip
And there is an old post on my blog about this game.