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
We’ll color its face now. Add this line of code:
Rectangle
To illustrate a rectangle, let’s add a chest ...
Get Create 2D Mobile Games with Corona SDK now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.