-
Book Overview & Buying
-
Table Of Contents
Corona SDK Mobile Game Development- Second Edition
By :
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.
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.
Change the font size
Change margin width
Change background colour