|
45.
|
|
|
Otherwise, the expression is interpreted to be a displayable. This displayable replaces the child of the transform when this clause executes, making it useful for animation. If a with clause is present, the second expression is evaluated as a transition, and the transition is applied to the old and new displayables.
|
|
|
|
В противном случае, выражение преобразовывается к отображаемому объекту. Этот объект заменяет потомка трансформации при выполнений данного оператора, что делает это полезным для анимации. Если существует условие with, второе выражение преобразуется к переходу, который применяется к новому и старому изображению.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:255
|
|
46.
|
|
|
Pass Statement
|
|
|
|
Оператор pass
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:277
|
|
47.
|
|
|
The pass statement is a simple statement that causes nothing to happen. This can be used when there's a desire to separate statements, like when there are two sets of choice statements that would otherwise be back-to-back.
|
|
|
|
Оператор pass - простой оператор, не делающий ничего. Он может быть использован для отделения операторов.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:282
|
|
48.
|
|
|
Repeat Statement
|
|
|
|
Оператор repeat
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:287
|
|
49.
|
|
|
The repeat statement is a simple statement that causes the block containing it to resume execution from the beginning. If the expression is present, then it is evaluated to give an integer number of times the block will execute. (So a block ending with "repeat 2" will execute at most twice.)
|
|
|
|
Оператор repeat - простой оператор, который вернет управление к началу содержащего его блока. Если присутствует выражение, оно преобразуется к количеству повторений блока (так, блок заканчивающийся на "repeat 2" будет выполнен дважды).
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:290
|
|
50.
|
|
|
The repeat statement must be the last statement in a block.::
|
|
|
|
Оператор repeat должен быть последним оператором блока.::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:298
|
|
51.
|
|
|
Block Statement
|
|
|
|
Оператор block
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:308
|
|
52.
|
|
|
The block statement is a complex statement that contains a block of ATL code. This can be used to group statements that will repeat.
|
|
|
|
Оператор block - сложный оператор, содержащий блок ATL-кода. Его можно использовать для группировки операторов для повторения.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:310
|
|
53.
|
|
|
Choice Statement
|
|
|
|
Оператор choice
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:329
|
|
54.
|
|
|
The choice statement is a complex statement that defines one of a set of potential choices. Ren'Py will pick one of the choices in the set, and execute the ATL block associated with it, and then continue execution after the last choice in the choice set.
|
|
|
|
Оператор choice - сложный оператор, который представляет один из набора потенциальных вариантов. Ren'Py выберет один вариант из этого набора и выполнит связанный с ним ATL-блок, затем продолжит выполнение после последнего оператора choice в наборе.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/atl.rst:331
|