Shapes

Shapes? Let’s start With circles, lines, and rectangles.

Not so good at creating your own graphics? Using circles, lines, and rectangles is a smart and easy way to start a project without any graphics assets. You can also use circles, lines, and rectangles in your games to create great user interfaces or visual effects.

Circle

ifig0063.jpg

fig0019

We’ll color its face now. Add this line of code:

ifig0064.jpg

Rectangle

To illustrate a rectangle, let’s add a chest ...

Get Create 2D Mobile Games with Corona SDK now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.