|
29.
|
|
|
The image statement must be run at init-time, before game code runs. When not contained inside an init block, image statements are run at init-time, as if they were placed inside an init block of priority 0.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:110
|
|
30.
|
|
|
See also the :ref:`ATL variant of the image statement. <atl-image-statement>`
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:115
|
|
31.
|
|
|
Show Statement
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:121
|
|
32.
|
|
|
The show statement is used to display an image on a layer. A show statement consists of a single logical line beginning with the keyword ``show``, followed by an image name, followed by zero or more properties.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:123
|
|
33.
|
|
|
If the show statement is given the exact name of an existing image, that image is the one that is shown. Otherwise, Ren'Py will attempt to find a unique image that:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:128
|
|
34.
|
|
|
Has the same tag as the one specified in the show statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:132
|
|
35.
|
|
|
Has all of the attributes given in the show statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:133
|
|
36.
|
|
|
If an image with the same tag is already showing, shares the largest number of attributes with that image.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:134
|
|
37.
|
|
|
If a unique image cannot be found, an exception occurs.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:137
|
|
38.
|
|
|
If an image with the same image tag is already showing on the layer, the new image replaces it. Otherwise, the image is placed above all other images in the layer. (That is, closest to the user.) This order may be modified by the zorder and behind properties.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/displaying_images.rst:139
|