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 10. Introducing Lua!

In our last game, we'll move to the new Cocos IDE and develop an entire game using the Lua scripting language. You'll get to know and use the Lua bindings for the Cocos2d-x API, which is not much different from what we've been using in C++; if anything, it's just a lot easier!

This time, you'll learn how to:

  • Create and publish a project in Cocos IDE

  • Code an entire game in Lua

  • Use sprites, particles, labels, menus, and actions, but this time with the Lua bindings

  • Build a match-three game