Cocos2d-x by Example
Beginner's Guide
Make fun games for any plaorm using C++, combined
with one of the most popular open source frameworks
in the world
Roger Engelbert
BIRMINGHAM - MUMBAI
Cocos2d-x by Example Beginner's Guide
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmied in any form or by any means, without the prior wrien permission of the
publisher, except in the case of brief quotaons embedded in crical arcles or reviews.
Every eort has been made in the preparaon of this book to ensure the accuracy of the
informaon presented. However, the informaon contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly
or indirectly by this book.
Packt Publishing has endeavored to provide trademark informaon about all of the
companies and products menoned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this informaon.
First published: April 2013
Producon Reference: 1190413
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-734-1
www.packtpub.com
Cover Image by Roger Engelbert (rengelbert@gmail.com)
Credits
Author
Roger Engelbert
Reviewers
Fabio Cunha
Stelios Pallis
Marcio Valenzuela P
Acquision Editor
Marn Bell
Lead Technical Editor
Joel Noronha
Technical Editors
Veronica Fernandes
Ishita Malhi
Saijul Shah
Project Coordinator
Abhishek Kori
Proofreader
Dirk Manuel
Indexers
Rekha Nair
Monica Ajmera Mehta
Graphics
Valenna D'silva
Producon Coordinator
Prachali Bhiwandkar
Cover Work
Prachali Bhiwandkar
About the Author
Roger Engelbert is a game developer with over ten years of experience in developing
online games. He grew up surrounded by video games and thinks of classic, 8-bit arcade
tles as a form of art. He is the author behind the blog Done With Computers, which is
chock-full of tutorials on game development and design. Roger sincerely hopes to soon
live in a world where people of all ages will be given the knowledge and opportunity to
experience the joy of building their own games.
I would like to thank the people from Packt Publishing who helped me
through the process of wring this book. And above all, my family, who
lovingly accepted my, "Sorry, I can't do that, I'm wring a book" as an
excuse to avoid every task and chore imaginable. (I wonder how long I
can keep giving that excuse now that the book has been published...)