Cocos2d-x Cookbook by Akihiro Matsuura

By Akihiro Matsuura

Over 50 hands-on recipes that can assist you successfully administer and continue your video games with Cocos2d-x

About This Book

  • Build intriguing 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 advisor that exhibits you the functionalities of Cocos2d-x through an evidence of ways they work

Who This ebook Is For

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

What you are going to Learn

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

In Detail

Cocos2d-x is a set of open resource, cross-platform game-development instruments utilized by millions of builders world wide. Cocos2d-x is a video game framework written in C++, with a skinny platform-dependent layer. thoroughly written in C++, the center 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 earlier than 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 sort Font (TTF) font support.

Later, you are going to find out about layer and scene production and transition. then you definately will create the GUI components crucial for a video game, comparable to buttons and switches. After that, you are going to breathe existence into the sport with historical past song and sound results utilizing the all new Cocos2d-x audio engine. you are going to then notice the best way to deal with source records and enforce methods that rely on the working system.

Finally, you'll polish your video game with physics reminiscent of gravity and elevation, know about instruments that can assist you make video games extra powerful and sturdy, and get to understand top practices to enhance the sport you've got developed.

Style and approach

This e-book is an easy-to-follow consultant with plentiful recipes that can assist you greater comprehend Cocos2d-x.

Show description

Read or Download Cocos2d-x Cookbook PDF

Similar computer games programming books

Programming 2D Games

Such a lot of modern-day advertisement video games are written in C++ and are created utilizing a video game engine. Addressing either one of those key parts, this article offers a whole, up to date advent to video game programming. As video game programming innovations are brought, readers how you can include them into their very own online game engine and notice find out how to use the sport engine to create an entire online game.

Game Engine Gems 2

This publication, the second one quantity within the well known video game Engine gemstones sequence, includes brief articles that target a specific approach, describe a smart trick, or supply sensible recommendation in the topic of video game engine improvement. The 31 chapters hide 3 vast categories—graphics and rendering, online game engine layout, and platforms programming.

Extending Virtual Worlds: Advanced Design for Virtual Environments

Written because the successor to digital global layout: growing Immersive digital Environments, this e-book includes the information introduced ahead in its predecessor to new degrees of digital global layout exploration and experimentation. Written through an Emmy award-winning clothier with 22 years of expertise growing digital environments for tv and on-line groups, Extending digital Worlds: complex layout for digital Environments explores complex issues equivalent to multi-regional layout, game-based sims, and narrative constitution for environments.

Learn Unity3D Programming with UnityScript: Unity's JavaScript for Beginners

Study solidarity Programming with UnityScript is your step by step advisor to studying to make your first cohesion video games utilizing UnityScript. you are going to circulate from point-and-click parts to totally personalized beneficial properties. you wish no past programming wisdom or any event with different layout instruments akin to PhotoShop or Illustrator - you can begin from scratch making solidarity video games with what you are going to research during this ebook.

Extra info for Cocos2d-x Cookbook

Example text

Download PDF sample

Rated 4.58 of 5 – based on 46 votes