Book Image

Learning Cocos2d-JS Game Development

By : Emanuele Feronato
Book Image

Learning Cocos2d-JS Game Development

By: Emanuele Feronato

Overview of this book

Table of Contents (18 chapters)
Learning Cocos2d-JS Game Development
Credits
Foreword
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Creating Your Own Blockbuster Game – A Complete Match 3 Game
Index

Foreword

As we look forward to 2015 with excitement, I wanted to look back at what we built in 2014 and share with you how important the release of this great book is to our community.

2014 has been an extraordinary year for Cocos2d-JS. Since we announced Cocos2d-JS v3.0 alpha at our spring developers conference in March, we have put our best efforts into building a great and unique game engine for our community. Our mission is to offer an easy code once, runs everywhere game development experience and lower the development threshold to bring more developers into the game industry.

Although the version was v3.0, it was the first version of Cocos2d-JS that was inherited from Cocos2d-html5 2.2.3. It has been an entirely new era in Cocos2d's JavaScript development since v3.0; here are the most important things that we have done:

  • Combined the Cocos2d-html5 web engine and the native Cocos2d-x JavaScript Bindings engine so that Cocos2d-JS games are equipped naturally with cross-browser and cross-platform abilities.

  • Provided a consistent workflow for all platforms—a best ever Code once, runs everywhere experience.

  • Made a great step forward in performance for both the web engine and native engine.

  • Built a bunch of new features such as Facebook Integration, Assets Manager, Object Pool, JS to Objective-C/JAVA reflection, and so on.

As a result, we have started to see many games released with Cocos2d-JS, especially on the Web, iOS, and Android. Today, I'm very proud to witness the very first English book on Cocos2d-JS; it really means a lot to us. Thanks to the great work of Emanuele on this book, I believe it will help many developers all around the world learn not only about Cocos2d-JS, but also game development in general. I'm also convinced that many developers, like you, our dear reader, will enter the game industry because of this book and start a great adventure with your code.

I recommend this book not only because it's the first one, but also because reading this book is a great approach to learning Cocos2d-JS. Emanuele covered all essential parts of Cocos2d-JS in this book; most importantly, he discussed all these topics with rich examples and sample codes. Furthermore, he managed to structure these examples into small games so that readers can progressively see their work turning into real games. I believe this will be a very strong motivation and will bring much fun while learning.

Again, I want to express my appreciation to Emanuele Feronato and this wonderful book. Hope you enjoy learning Cocos2d-JS with Emanuele and enjoy coding games.

Huabin LING

Lead Programmer of Cocos2d-JS