Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By : Michelle M Fernandez
Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By: Michelle M Fernandez

Overview of this book

Table of Contents (19 chapters)
Corona SDK Mobile Game Development Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Composer API


The Composer API provides an easy solution for developers to control scenes with or without transitions. This is a great scene-management library to display menu systems and even managing multiple levels in a game. Composer also comes with a variety of transition effects. More information can be found on the Corona Docs at http://docs.coronalabs.com/api/library/composer/index.html.

Our scene management will look similar to the scene template displayed at http://docs.coronalabs.com/api/library/composer/index.html#scene-template.

Game development with the Composer API

You may wonder how we're going to apply Composer with Egg Drop. It's really simple. We'll have to alter some lines in our game code to make it compatible with Composer and create some new scenes for the menu system that is applied before game splay.