Book Image

Cocos2d Game Development Blueprints

By : Jorge Jordán
Book Image

Cocos2d Game Development Blueprints

By: Jorge Jordán

Overview of this book

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

2-star challenge – adding explosions


When the robots reach the tower they explode, which is why we lose one life point, but we need some visual explanation to make it more realistic.

I'm sure you are able to add some explosions when it happens so why don't you take advantage of the code files of Chapter 2, Explosions and UFOs, and make the enemies explode when arriving at the final path step?