Learn to create engaging and spectacular games for Android using Cocos2d-x
Cocos2d-x is a multi-platform C++ gaming framework in active development maintained by Chukong technologies. It wraps all the essential elements needed for creating a game, making the task of game building very developer-friendly.
Starting with a vital primer to get you up and running with your development more » environment, you will quickly dive in to exploring the latest version of this framework. You will understand major framework improvements to render objects at lightning speed, extend and maintain code easily, and improve the label API to add great functionality such as glow, shadows, and outlines to labels.
Through the creation of a real game, you will explore the core components of development including Physics, enabling you to create realistic sprite movements, and particle systems to dynamically simulate explosions, fire, rain, and smoke, as well as exploring the sound engine to make your game more robust. Finish by integrating Cocos2d-x C++ code with native Android code to launch games with the classic Java Android application.
***** Who This Book Is For *****
If you have a basic understanding of the C++ programming language and want to create videogames for the Android platform, then this technology and book is ideal for you. « less
Unleash your inner creativity and learn how to build great cross-platform 2D games with the popular Cocos2d-x framework
Upgraded and updated, the powerful and popular open source framework Cocos2d-x is better than ever. Through step-by-step tutorials, you'll learn how to take complete advantage of the framework. You'll learn how to add animations and special effects, implement a physics engine, optimize your games, prepare more » a project for multiple devices, and develop game ideas from the test version to a finished project.
Most importantly, this book provides you with the accumulated knowledge of thousands of game developers, all packed into one easy-to-use and proven framework that will save time and strenuous thinking!
***** Who This Book Is For *****
If you are a game enthusiast who would like to develop and publish your own game ideas onto different app stores, this is the book for you. Some knowledge of C++ or Java is helpful but not necessary. « less
Over 50 hands-on recipes to help you efficiently administer and maintain your games with Cocos2d-x
***** About This Book *****
* Build exciting games, apps, and other cross-platform GUI based interactive programs with Cocos2d-x
* Explore the nitty-gritty of the latest Cocos2d-x on the block, version 3.6
* A step-by-step guide that shows you the functionalities of Cocos2d-x followed by an explanation more » of how they work
***** Who 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 Learn *****
* Install and set up Cocos2d-x for your development environment
* Build, test, and release game applications for iOS and Android
* Develop your games for multiple platforms
* Customize Cocos2d-x for your games
* Use a physical engine in your games
* Save and load text, JSON, XML, or other formats
* Explore the brand new features of Cocos2d-x
***** In 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. « less
Create iOS and Android games from scratch using Cocos2d-x
You will learn the essentials of Cocos2d-x through examples, by creating a game from scratch. The book starts with adding scenes and menus to the game. Furthermore, you can learn more about the varied features such as scene transitions, game sprites, moving the spaceship, and adding audio to make your game livelier. By the end of the book, you will be able to solve problems that may arise during the entire game development phase. « less
Make fun games for any platform using C++, combined with one of the most popular open source frameworks in the world
With Cocos2d-x you don’t have to be a programming whiz to be a genius at game design. This tutorial will help unleash your inner creativity with lots of fun tutorials. Get the know-how to build great cross-platform 2D games.
* Learn to build multi-device games in simple, easy steps, letting more » the framework do all the heavy lifting
* Spice things up in your games with easy to apply animations, particle effects, and physics simulation
* Quickly implement and test your own gameplay ideas, with an eye for optimization and portability
* Enjoy building the games as much as you will enjoy playing them
Cocos2d-x is the C++ port of arguably the most popular open source 2D framework in the world. Its predecessor was limited to the Apple family but with Cocos2d-x you can take your applications to all major app stores, with minimum extra work. Give your games a larger target audience with almost no extra hassle.
"Cocos2d-X by Example Beginner's Guide" allows you to build your own cross platform games using all the benefits of a time tested framework, plus the elegance and simplicity of C++.
Each of the six games developed in this book will take you further on the road to becoming an expert game developer with no fuss and plenty of fun.
Follow six tutorials for six very different games that leverage the ease of Cocos2D-X and its quick implementation, moving from simple ideas to more advanced topics in game development.
In easy-to-follow steps, the book teaches you how to take full advantage of the framework by adding animations and special effects, implementing a physics engine, and optimizing your games.
Prepare your project for multiple platforms and learn how to take your game concepts to completion.
"Cocos2d-X by Example Beginner's Guide" will present to you, in six different games, the topics necessary to build some of the most popular and fun types of games today.
What you will learn from this book
* Make your games look cooler with particle effects
* Create place holder sprites to quickly test your game ideas
* Load external data into your games
* Build game menus and tutorials
* Implement game-wide events with notifications
* Create a dash game with a textured terrain
* Build a Box2D puzzle game with multiple levels
* Create a hybrid iOS and Android project
Get to grips with Cocos2D-X using step-by-step examples. Roger Engelbert will have you smiling throughout and learning valuable information at every turn.
Who this book is written for
If you have brilliant ideas for amazing games and want to bring them to life, then this book is what you need. Work through easy-to-follow examples and learn exactly what you need to know to make your games a reality. No programming experience necessary! « less