Summary
You've learned a lot in this chapter by building ColourSmash. By now, you should be familiar with the structure and relationship of the cc.Scene
and cc.Layer
. This same structure will be used in the forthcoming projects, both in Cocos2d-html5 and Cocos2d-x.
We also made extensive use of a wide variety of actions, thereby understanding how powerful they make the Cocos2d-x engine. You have also understood the importance of easing while using actions. You learned how to register touches and how to run simple schedulers. There is still a lot to learn and a lot more fun ahead.
Our next game is similar to an extremely famous game that took the world by storm. You're surely in for a treat!