Cocos2d-x Cookbook by Akihiro Matsuura

By Akihiro Matsuura

Over 50 hands-on recipes that will help you successfully administer and retain your video games with Cocos2d-x

About This Book

  • Build interesting video games, apps, and different cross-platform GUI established interactive courses with Cocos2d-x
  • Explore the nitty-gritty of the newest Cocos2d-x at the block, model 3.6
  • A step by step consultant that indicates you the functionalities of Cocos2d-x by means of an evidence of the way they work

Who This ebook Is For

If you're a video game developer and need to profit extra approximately cross-platform video game improvement in Cocos2d-x, then this ebook is for you. wisdom of C++, Xcode, Eclipse, and the way to take advantage of instructions within the terminal are must haves for this book.

What you'll Learn

  • Install and arrange Cocos2d-x in your improvement environment
  • Build, try, and unencumber online game functions for iOS and Android
  • Develop your video games for a number of platforms
  • Customize Cocos2d-x on your games
  • Use a actual engine on your games
  • Save and cargo textual content, JSON, XML, or different formats
  • Explore the new gains of Cocos2d-x

In Detail

Cocos2d-x is a collection of open resource, cross-platform game-development instruments utilized by hundreds of thousands of builders around the world. Cocos2d-x is a video game framework written in C++, with a skinny platform-dependent layer. thoroughly written in C++, the middle engine has the smallest footprint and the quickest pace of the other online game engine, and is optimized to be run on every kind of devices.

You will start with the preliminary setup and install of Cocos2d ahead of relocating directly to the basics had to create a brand new venture. you'll then discover and create the sprites, animations, and activities that you're going to comprise within the online game. subsequent you are going to examine strings and create labels, together with a label with precise kind Font (TTF) font support.

Later, you'll know about layer and scene construction and transition. then you definately will create the GUI elements crucial for a video game, akin to buttons and switches. After that, you'll breathe lifestyles into the sport with history song and sound results utilizing the all new Cocos2d-x audio engine. you'll then realize the way to deal with source records and enforce methods that rely on the working system.

Finally, you'll polish your online game with physics comparable to gravity and elevation, find out about instruments that can assist you make video games extra powerful and good, and get to grasp top practices to enhance the sport you've got developed.

Style and approach

This publication is an easy-to-follow consultant with plentiful recipes that will help you higher comprehend Cocos2d-x.

Show description

Read or Download Cocos2d-x Cookbook PDF

Best computer games programming books

Learning Unity Physics

Learn how to enforce Physics in interactive improvement utilizing the strong parts of Unity3DAbout This BookLearn easy methods to make the most of the strong positive factors of Unity3D to advance physics-based interactive purposes and gamesOptimize your software functionality whereas utilizing physics in Unity3DAn easy-to-follow advisor followed by means of examples, with the intention to aid builders to benefit and observe physics to gamesWho This ebook Is ForIf you're acquainted with the basics of Physics and feature uncomplicated adventure of team spirit online game improvement, yet don't have any wisdom of utilizing the 2 jointly, then this ebook is for you.

Mastering Unreal Engine 4.X

Key FeaturesBuild a complete AAA online game point through the bookTake your C++ scripting talents to the following point and use them widely to construct the gameAn complex functional consultant with an instructional sort strategy that can assist you make the easiest of Unreal engine 4Book DescriptionUnreal Engine four has garnered loads of realization within the gaming international due to its new and more desirable images and rendering engine, the physics simulator, particle generator, and extra.

Mastering Unity 2D Game Development - Second Edition

Grasp every thing you must construct a 2nd video game utilizing harmony five by means of constructing a whole RPG online game framework! approximately This BookExplore the recent positive factors of solidarity five and realize out of date code and components. enhance and construct an entire second unfashionable RPG with a talk method, stock, random map battles, complete video game menus, and sound.

Procedural Generation in Game Design

Creating a video game might be a radical technique, and if now not deliberate effectively can simply run over price range. using procedural iteration in online game layout will help with the problematic and multifarious points of online game improvement; therefore facilitating fee relief. this kind of improvement allows video games to create their play components, gadgets and tales in keeping with a suite of ideas, instead of hoping on the developer to handcraft every one aspect separately.

Extra info for Cocos2d-x Cookbook

Example text

Download PDF sample

Rated 4.02 of 5 – based on 26 votes