Book Image

Cocos2d-X Game Development Blueprints

By : Karan Sequeira
Book Image

Cocos2d-X Game Development Blueprints

By: Karan Sequeira

Overview of this book

Table of Contents (17 chapters)
Cocos2d-x Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. The Two Towers

The ninth chapter of this book brings us to the last game that we will develop. What better way to wind up the saga if not with an epic battle between good and evil? In this chapter, we will build a tower defense game. Personally, I really enjoy playing such games and have burned endless hours on them!

In this chapter, you'll learn:

  • How to design scalable tower and enemy architecture

  • How to implement basic gestures to spawn towers

  • How to control the speed of actions and scheduler to speed-up gameplay