Book Image

Cocos2d-x by Example: Beginner's Guide

By : Roger Engelbert
Book Image

Cocos2d-x by Example: Beginner's Guide

By: Roger Engelbert

Overview of this book

Table of Contents (19 chapters)
Cocos2d-x by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Quick and Easy Sprite – Victorian Rush Hour

In our fourth example of a game built with Cocos2d-x, I'll show you a simple technique for rapid prototyping. Often in game development, you want to test the core ideas of your game as soon as possible, because a game may sound fun in your head but in reality it just doesn't work. Rapid prototyping techniques allow you to test your game as early as possible in the development process as well as build up on the good ideas.

Here's what you'll learn:

  • How to quickly create placeholder sprites

  • How to code collisions for a platform game

  • How to create varied terrain for a side-scroller