Cocos2D Game Development Essentials

For new users - a quickstart guide to bringing your mobile game ideas to life with Cocos2D

Cocos2D Game Development Essentials

This ebook is included in a Mapt subscription
Ben Trengrove

For new users - a quickstart guide to bringing your mobile game ideas to life with Cocos2D
$0.00
$9.00
$29.99
$29.99p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784390327
Paperback136 pages

Book Description

Focusing on the multiplatform nature of Cocos2D, this fast, fun, and helpful guide provides you with the best practices and sharpest techniques to turn your ideas into reality.

Beginning with the basics to give you a solid foundation of knowledge, such as how to display sprites on screen and organizing your game into different scenes, you will then discover how to use Cocos2D's in-built graphics editor, SpriteBuilder, to lay out your scenes, design animations, and configure complex physics interactions. You will also find out how to make your game interactive, as the book explores how to accept input touches and the accelerator.

The book is tailored to new users and also those who are upgrading from the old version.

Table of Contents

Chapter 1: Getting Started with Cocos2d
An introduction to Cocos2d
Installing Cocos2d
Summary
Chapter 2: Nodes, Sprites, and Scenes
The building blocks, nodes
Putting it into practice
The next step
The Cocos2d update loop
Scenes
Summary
Chapter 3: SpriteBuilder
Creating a new project
Creating Flappy Square
The next step
Summary
Chapter 4: Animation with SpriteBuilder
Adding sprites to SpriteBuilder
Creating sprite frame animations
Particle systems
Keyframe animation in SpriteBuilder
Animation in code
Summary
Chapter 5: User Interaction and Interface
Detecting touches
Adding buttons to your scene
Accepting user input with form elements
Presenting data in a table with CCTableView
Summary
Chapter 6: Physics Engines
Introducing physics engines
Adding joints
Adding a sprite joint
Dragging an object against a spring joint
Firing objects from the catapult
Creating a motor
The next step
Summary

What You Will Learn

  • Use sprites and nodes to create scenes to form the foundation of your game
  • Discover how SpriteBuilder and its graphical tools can be used to develop your game and increase its complexity
  • Design professional, impressive, and fun-filled animations
  • Create an impressive user interface for an engaging gaming experience
  • Explore and use physics engines for attractive gameplay and use them to add a professional finish to your game
  • Add physics to your game for a more realistic experience
  • Accept user input through a variety of methods including touch and accelerometer

Authors

Table of Contents

Chapter 1: Getting Started with Cocos2d
An introduction to Cocos2d
Installing Cocos2d
Summary
Chapter 2: Nodes, Sprites, and Scenes
The building blocks, nodes
Putting it into practice
The next step
The Cocos2d update loop
Scenes
Summary
Chapter 3: SpriteBuilder
Creating a new project
Creating Flappy Square
The next step
Summary
Chapter 4: Animation with SpriteBuilder
Adding sprites to SpriteBuilder
Creating sprite frame animations
Particle systems
Keyframe animation in SpriteBuilder
Animation in code
Summary
Chapter 5: User Interaction and Interface
Detecting touches
Adding buttons to your scene
Accepting user input with form elements
Presenting data in a table with CCTableView
Summary
Chapter 6: Physics Engines
Introducing physics engines
Adding joints
Adding a sprite joint
Dragging an object against a spring joint
Firing objects from the catapult
Creating a motor
The next step
Summary

Book Details

ISBN 139781784390327
Paperback136 pages
Read More

Read More Reviews