ABSTRACT

This chapter shows how to display images like backgrounds, grounds, and crates, while creating mobile games and application using Corona software development kit (SDK). An image is a picture, and most of the time contained in a file called a jpeg or a png. A sprite is one or several animated sequences of images. It is used in video games to display characters, animations, and so on. The main advantage of sprites is that all the images can be gathered in one big picture called the image sheet. A standard image is displayed using a single line of code. It's important to understand that once the image has been displayed, it will remain on the screen forever until people remove it. In some other low-level programming languages, people have to redraw the image over and over again on every frame. The standard image will not have the same rendering depending on which device it is displayed on.