A trip from cocos2d-iphone to cocos2d-html5

With the help of the 3-day-break during Tomb-sweeping Day I finally finished this trip and reached the destination.

Frankly speaking I was only planning to write a short post about this trip at the beginning but when I get started I found there are way too much that I want to write down the I planned.

Then I happened to come across a wonderful tutorial from Ray wenderlich introducing how to create a book usign iBooks author and asked myself — why not? — and then this book was here 🙂

I’d like to consider this book as a “Guide”. Most part of the book is totally original that you won’t be able to find on the Internet.

The latter part of the book covers how to deploy the game to heroku and Sina App Engine and then connect it to Facebook and Sina Weibo, to make it easier for the readers to understand I created a very simple demo and walked the whole process again and took a lot of screenshots to put in the book.

if you feel a great interest in cocos2d-html5 after reading this book then the purpose of writing this book achieved (if you also feel a little bit interest in the author that will be even better 🙂 )

cocos2d-html5 is strong and powful, it has all the advatages HTML5 have and a great cocos2d community as backup and I am sure you’ll feel the same way reading this book.

Now here is a list of the stuffs I’m gonna share and everything is free, you can take what you want and if you have

any qiestion fell free to ask:

1. [Chinese] cocos2d-iphone ~ cocos2d-html5 之旅.ibook
Note: Chinese version of the book with ibook format,recommend for those who have an ipad device
Download Link: Later

2. [English] A trip from cocos2d-iphone to cocos2d-html5.ibook
Note: English version of the book with ibook format,recommend for those who have an ipad device
Download Link: Later

3. [Chinese] cocos2d-iphone ~ cocos2d-html5 之旅.pdf
Note: Chinese version of the book with pdf format
Download Link: Get it Now !!!

4. [English] A trip from cocos2d-iphone to cocos2d-html5.pdf
Note: English version of the book with pdf format
Download Link: Get it Now !!!

5. Cocos2d-Html5-HelloWorld-SinaWB Source code
Note: A simple Demo released on SinaWeibo all you need is fill in the ID/Key stuffs in the code
Download Link: Get it Now !!!

6. Cocos2d-Html5-HelloWorld-Facebook Source code
Note: A simple Demo released on Facebook all you need is fill in the ID/Key stuffs in the code
Download Link: Get it Now !!!

7. Cocos2d-Html5-HelloWorld-Widget Source code
Note The Widget version of the simple demo mentioned above
Download Link: Get it Now !!!

8. Clear-Five-Stages-iphone Source code
Note: The cocos2d-iphone version of the game on AppStore
Download Link: Get it Now !!!
Game Link: Get it Now !!!

9. Clear-Five-Stages-Html5 Source code
Note: The cocos2d-html5 port of the game mentioned above without the platform stuffs (Facebook, Sina Weibo)
Download Link: Get it Now !!!
Game Link – Facebook: Play it Now !!!
Game Link – Sina Weibo: Later

10. Clear-Five-Stages-Widget Source code
Note: The Widget of the game mentioned above
Download Link: Get it Now !!!

11. Clear-Five-Stages-Cocosbuilder Project
Note: The cocosbuilder project of the game
Download Link: Get it Now !!!

About the book and game code:

1. Everything is 100% free and hope you do not use these thing for commercial or illegal use

2. There is no plan for Japanese version at this moment since that might take quite a while for me to do that (longer then making the English version)

3. You might find few comment in the game source code since I wrote it nearly one and half years ago and wasn’t preparing to share it at that time

4. The book is not done yet 🙂 I will update the book adding new stuffs about the problems I had with the game and book during the review stages and more to come.

At last I need to remind you that all the stuffs are made in my limited spare time and this is my first touch with cocos2d-html5

so it is no doubt that there’re errors somewhere in the book or the code, if you find one, leave me a comment and I’ll fix it as soon as possible.

And if you want to thank me for what I’ve done you can:

1. Leave me a comment after the post

2. Download the game from Appstore: Get it Now !!!

3. Tell your friends about the book or the game using the “Share List Button” at the bottom of this post

4. Buy me a coffee — instant or starbucks — it’s your call 🙂