Cover by Michelle M. Fernandez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Objects

Tables and functions are objects. Variables do not actually contain these values, only references to them. Tables are also used in what is known as object-oriented programming. Functions that deal with a particular type of value are part of that value. Such a value is called an object and its functions are called methods. In Corona, we'll be focusing more on display objects since they are essential for game development.

Display objects

Anything drawn to the screen is made by display objects. In Corona, the assets you see displayed in the simulator are instances of display objects. You have probably seen shapes, images, and text, which are all forms of display objects. When you create these objects, you'll be able to animate them, turn them ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required