Cocos2d-x by Example: Beginner's Guide - Second Edition


Book Description

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.




Cocos2d-X by Example


Book Description

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.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!







Building Android Games with Cocos2d-x


Book Description

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.




Cocos2d-x Cookbook


Book Description

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 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.




Learning Cocos2d-x Game Development


Book Description

If you are a hobbyist, novice game developer, or programmer who wants to learn about developing games/apps using Cocos2d-x, this book is ideal for you.




Cocos2d-x Game Development Blueprints


Book Description

Packed with comprehensive projects, this book takes a detailed look at a few of the industry's most popular games. This book will show you how to use Cocos2d-x to build games using its core components. You will learn how to incorporate game physics, and import custom models and animations. Next, you will see how to include effects such as particles and sounds. With a brief introduction to the upcoming HTML5 platform using Cocos2d-html5, the book goes on to tackle the many different concepts that comprise game development today. You will learn how to build worlds with meshes, a terrain, user interaction, physics, and more. You will start by developing a puzzle game, and then progress on to games that are increasingly complex. Along the way, you'll learn how to build gaming favorites similar to games such as Flappy Bird, Tilt to Live, Jumpy Clown, Angry Birds, and Tower Defense.




Beginning Google Glass Development


Book Description

Beginning Google Glass Development is your number one resource for learning how to develop for Google Glass--the paradigm-shifting mobile computing platform taking the world by storm now and for years to come. Mobile developers have always had to think for the future, and right now that means getting started with Google Glass. This book is incredibly hands-on with many exciting projects. You will learn the basics of Glass and how to set up your development environment, through to every Glass development topic using Glass Development Kit (GDK): • Glass User Interface • Camera and Image Processing • Video: Basics and Applications • Voice and Audio • Network, Bluetooth, and Social • Locations, Map, and Sensors • Graphics, Animation, and Games You will also learn how to develop enterprise and web-based Glass apps using the Mirror API. Each topic is full of examples that illustrate what Glass can truly do and help you quickly start developing your own apps. Jeff Tang has successfully developed mobile, web, and enterprise apps on many platforms, and cares immensely about user experience. He brings his vast knowledge to this book through cool and practical examples, which will excite and tantalize your creativity. This book is for any developer who is keen to start developing for Glass with GDK or the Mirror API. Whether you are an Android, iOS, web, or enterprise developer, you do not want to miss the chance that Glass becomes the next big thing. Get started with Beginning Google Glass Development and be inspired today.




Learning Cocos2D


Book Description

Build the Next Great iOS Game with Cocos2D! Cocos2D is the powerhouse framework behind some of the most popular games in the App Store. If you’ve played Tiny Wings, Angry Birds, Mega Jump, Trainyard, or even Super Turbo Action Pig, then you’ve played a game that uses Cocos2D or Box2D physics. The beauty of Cocos2D is its simplicity. It’s easy to become overwhelmed when you start developing an iOS game, especially if you look at things like OpenGL ES, OpenAL, and other lower level APIs. Writing a game for the iPhone and iPad does not have to be that difficult, and Cocos2D makes game development fun and easy. Learning Cocos2D walks you through the process of building Space Viking (which is free on the App Store), a 2D scrolling game that leverages Cocos2D, Box2D, and Chipmunk. As you build Space Viking, you’ll learn everything you need to know about Cocos2D so you can create the next killer iOS game. Download the free version of Space Viking from the App Store today! Help Ole find his way home while learning how to build the game. As you build Space Viking, you’ll learn how to Install and configure Cocos2D so it works with Xcode 4 Build a complete 2D action adventure game with Cocos2D Add animations and movement to your games Build your game’s main menu screen for accessing levels Use Cocos2D’s Scheduler to make sure the right events happen at the right times Use tile maps to build scrolling game levels from reusable images Add audio and sound effects with CocosDenshion—Cocos2D’s sound engine Add gravity, realistic collisions, and even ragdoll effects with Box2D and Chipmunk physics engines Add amazing effects to your games with particle systems Leverage Game Center in your game for achievements and leader boards Squeeze the most performance from your games along with tips and tricks




Cocos2d Cross-Platform Game Development Cookbook


Book Description

Develop games for iOS and Android using Cocos2d with the aid of over 70 step-by-step recipes About This Book Learn to efficiently use Cocos2d to develop cross-platform games, and have them work on iOS as well as Android Get acquainted with industry-wide professional tools such as Glyph Designer, Texture Packer, and Physics Editor, as well as using the Swift/ Sprite builder implementation of Cocos2d Use the easy-to-follow recipes to develop as well as deploy games to the Playstore and the App Store Who This Book Is For This book is for intermediate game developers and especially the ones who are generally curious to find out what's new in Cocos2d v 3.3. What You Will Learn Build custom sprites with custom animations for the game Build interactivity into your game by adding gestures and touch interactions Understand AI enemy programming and path finding to make games more exciting Add physics to your game to make it more lively and interactive Get familiar with the Swift and Sprite builder implementations along with Objective-C programming Perform hassle-free deployment of games built in iOS onto Android Add effects and particle systems to make the game more colorful In Detail Cocos2d is the world's leading game development framework for developing iOS games. With the introduction of Swift and Spritebuilder, it has become easier than ever to develop the games of your dreams without much effort. With Cocos2d, you can also deploy the game on Android, thereby maximizing profit and reducing development and porting costs. The book starts off with a detailed look at how to implement sprites and animations into your game to make it livelier. You will then learn to add scenes to the game such as the gameplay scene and options scene and create menus and buttons in these scenes, as well as creating transitions between them. From there on, you will get an understanding of how to program user interactions such as tapping, holding, and swiping. You'll then add accelerometer inputs and physics to the scene, and make objects respond back to the inputs. A game is practically incomplete without audio being added, so this will be covered next. The next section will include ways to add Artificial Intelligence to enemies in the game, allowing them to patrol, chase, and shoot in a projectile manner. You will then learn to use NSUserDefault to save and load game progress, and create and access files using JSON, Plist, and XML files for custom storage and retrieval of data. Then you will learn to add dynamic lighting to your game and will use industry-wide tools such as Texture Packer, Glyph Designer, Physics Editor, Particle Designer, and Sprite Illuminator to create more visually appealing and performance-optimized games. Towards the end of the book, we dive into Apple's latest programming language—Swift, highlighting the major differences between Objective C and Swift. The book culminates with taking your existing game developed for iOS and porting it to Android, showing you how to install the Android Xcode plugin as well. Style and approach The book is written in an extremely lucid and step-by-step manner; it can be understood easily by anyone. The topics included are broken down into individual chapters so you can refer to the specific chapter to get answers on the subject you are interested in.