|
12.
|
|
|
An :dfn:`image name` consists of one or more names, separated by spaces. The first component of the image name is called the :dfn:`image tag`. The second and later components of the name are the :dfn:`image attributes`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:39
|
|
13.
|
|
|
For example, take the image name ``mary beach night happy``. The image tag is ``mary``, while the image attributes are ``beach``, ``night``, and ``happy``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:44
|
|
14.
|
|
|
A displayable is something that can be shown on the screen. The most common thing to show is a static image, which can be specified by giving the filename of the image, as a string. In the example above, we might use ``"mary_beach_night_happy.png"`` as the filename. However, an image may refer to :ref:`any displayable Ren'Py supports <displayables>`, not just static images. Thus, the same statements that are used to display images can also be used for animations, solid colors, and the other types of displayables.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:48
|
|
15.
|
|
|
Layer
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:58
|
|
16.
|
|
|
A layer is a list of displayables that are shown on the screen. Ren'Py supports multiple layers, including user-defined layers. The order of the layers is fixed within a game (controlled by the :var:`config.layers` variable), while the order of displayables within a layer is controlled by the order in which the scene and show statements are called, and the properties given to those statements.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:60
|
|
17.
|
|
|
The following layers are defined as part of Ren'Py:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:67
|
|
18.
|
|
|
master
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:72
|
|
19.
|
|
|
This is the default layer that is used by the scene, show, and hide statements. It's generally used for backgrounds and character sprites.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:70
|
|
20.
|
|
|
transient
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:76
|
|
21.
|
|
|
The default layer used by ui functions. This layer is cleared at the end of each interaction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:75
|