Introduction
One screen has one scene. A scene is a container that holds Sprite, Labels, and other objects. For example, a scene can be a title scene, a game scene, or an option menu scene. Each scene has multiple layers. A layer is a transparent sheet similar to Photoshop's layer. Objects that added to layers are displayed on the screen. In this chapter, we will explain how to use the Scene
class and the Layer
class and how to transition between scenes. Finally, by the end of this chapter, you will be able to create original scenes and layers.