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

Summary


In this chapter, you learned how to create tweens, collisions, and so on. You also learned how to pass through particle generation and create a complete working game.

There is something you should do to get more familiar with Cocos2d-JS, that is, use what you learned until now and improve the game. You can try to switch the control mode from mouse-driven to touch-driven, display text with the maximum distance travelled without hitting an asteroid, and increase the difficulty level every n seconds without hitting asteroids by making asteroids faster or appear more often.

Now, you are ready to dive into the next chapter where touch controls will become more interactive thanks to swipe detection.