Reader small image

You're reading from  Corona SDK Mobile Game Development: Beginner's Guide

Product typeBook
Published inMar 2015
Publisher
ISBN-139781783559343
Edition1st Edition
Tools
Right arrow
Author (1)
Michelle M Fernandez
Michelle M Fernandez
Right arrow

Building the application


Now that we have configured our application to the landscape mode and set the display contents to scale on multiple devices, we're ready to start designing the game. Before we start writing some code for the game, we need to add in some art assets that will be displayed on the screen. You can find them in the Chapter 3 Resources folder. You can download the project files that accompany this book from the Packt Publishing website. The following are the files that you'll need to add to your Breakout project folder:

  • alertBox.png

  • bg.png

  • mmScreen.png

  • ball.png

  • paddle.png

  • brick.png

  • playbtn.png

Displaying groups

An important function that we'll be introducing in this game is display.newGroup(). Display groups allow you to add and remove child display objects and collect the related display objects. Initially, there are no children in a group. The local origin is at the parent object's origin; the anchor point is initialized to this local origin. You can easily organize...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Corona SDK Mobile Game Development: Beginner's Guide
Published in: Mar 2015Publisher: ISBN-13: 9781783559343

Author (1)