Book Image

Cocos2d-x by Example: Beginner's Guide

By : Roger Engelbert
Book Image

Cocos2d-x by Example: Beginner's Guide

By: Roger Engelbert

Overview of this book

Table of Contents (19 chapters)
Cocos2d-x by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


You now know how to add sprites and labels, and how to add support for two screen resolutions as well as support for multitouch. There are quite a few ways to create sprites other than by passing it an image filename, and I'll show examples of these in the games to come.

LabelTTF won't be used as much in this book. Generally, they are good for large chunks of text and text that is not updated too frequently; we'll use bitmap fonts from now on.

So, let's move on to the next game and animations. I promise I won't make you type as much. You should get your friend to do it for you!