Cocos2d-x Cookbook

· Packt Publishing Ltd
5.0
1 Rezension
E-Book
254
Seiten
Bewertungen und Rezensionen werden nicht geprüft  Weitere Informationen

Über dieses E-Book

Over 50 hands-on recipes to help you efficiently administer and maintain your games with Cocos2d-xAbout This BookBuild exciting games, apps, and other cross-platform GUI based interactive programs with Cocos2d-xExplore the nitty-gritty of the latest Cocos2d-x on the block, version 3.6A step-by-step guide that shows you the functionalities of Cocos2d-x followed by an explanation of how they workWho This Book Is For

If you are a game developer and want to learn more about cross-platform game development in Cocos2d-x, then this book is for you. Knowledge of C++, Xcode, Eclipse, and how to use commands in the terminal are prerequisites for this book.

What You Will LearnInstall and set up Cocos2d-x for your development environmentBuild, test, and release game applications for iOS and AndroidDevelop your games for multiple platformsCustomize Cocos2d-x for your gamesUse a physical engine in your gamesSave and load text, JSON, XML, or other formatsExplore the brand new features of Cocos2d-xIn Detail

Cocos2d-x is a suite of open source, cross-platform game-development tools used by thousands of developers all over the world. Cocos2d-x is a game framework written in C++, with a thin platform-dependent layer. Completely written in C++, the core engine has the smallest footprint and the fastest speed of any other game engine, and is optimized to be run on all kinds of devices.

You will begin with the initial setup and installation of Cocos2d before moving on to the fundamentals needed to create a new project. You will then explore and create the sprites, animations, and actions that you will include in the game. Next you will look at strings and create labels, including a label with True Type Font (TTF) font support.

Later, you will learn about layer and scene creation and transition. Then you will create the GUI parts essential for a game, such as buttons and switches. After that, you will breathe life into the game with background music and sound effects using the all new Cocos2d-x audio engine. You will then discover how to manage resource files and implement processes that depend on the operating system.

Finally, you will polish your game with physics such as gravity and elevation, learn about tools that will help you make games more robust and stable, and get to know best practices to improve the game you have developed.

Style and approach

This book is an easy-to-follow guide with ample recipes to help you better understand Cocos2d-x.

Bewertungen und Rezensionen

5.0
1 Rezension

Autoren-Profil

Akihiro Matsuura has five years of experience as a Cocos2d-x developer. He founded his own company called Syuhari, Inc. five years ago. He has more than 20 years of experience as a programmer. He has written three technical books in Japanese. He also authored Cocos2d-x Recipe Book, Shuwa System Co., Ltd, the first Cocos2d-x book in Japan, iPhone SDK Recipe Book, Shuwa System Co., Ltd, and Cocos2d-x Guide Book, Mynavi Corporation. 7 years ago, iPhone3G was released in Japan. This was when he began to develop its software and ended up developing a lot of applications for iPhone. First, he developed them using Cocos2d for iPhone; however, he had to port to Android. So, he decided to use Cocos2d-x to develop cross-platform applications. At that time, Cocos2d-x was at version 1.0. Since then, he has developed a lot of applications using Cocos2d-x.

Dieses E-Book bewerten

Deine Meinung ist gefragt!

Informationen zum Lesen

Smartphones und Tablets
Nachdem du die Google Play Bücher App für Android und iPad/iPhone installiert hast, wird diese automatisch mit deinem Konto synchronisiert, sodass du auch unterwegs online und offline lesen kannst.
Laptops und Computer
Im Webbrowser auf deinem Computer kannst du dir Hörbucher anhören, die du bei Google Play gekauft hast.
E-Reader und andere Geräte
Wenn du Bücher auf E-Ink-Geräten lesen möchtest, beispielsweise auf einem Kobo eReader, lade eine Datei herunter und übertrage sie auf dein Gerät. Eine ausführliche Anleitung zum Übertragen der Dateien auf unterstützte E-Reader findest du in der Hilfe.