Translations by theadmin

theadmin has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

150 of 171 results
1.
Animation and Transformation Language
2014-01-10
Язык Анимаций и Трансформаций
2.
The Animation and Transformation Language (ATL) provides a high-level way of choosing a displayable to show, positioning it on the screen, and applying transformations such as rotation, zoom, and alpha-modification. These can be changed over time, and in response to events.
2014-01-10
Язык Анимаций и Трансформаций (ATL) предоставляет высокоуровневый путь выбора отображаемого объекта, расположения его на экране, применения трансформаций, таких как вращение, масштабирование, модификация альфа-канала. Их можно менять со временем, и в качестве ответа на события.
3.
The Python equivalent of an ATL transform is the :func:`Transform` displayable. There is no way to create an ATL transform programatically.
2014-01-10
Эквивалент трансформации ATL в Python - отображаемый объект :func:`Transform`. Не существует способа создать трансформацию ATL программатически.
4.
Ren'Py Script Statements
2014-01-10
Операторы сценариев Ren'Py
5.
ATL Code can be included as part of three Ren'Py script statements.
2014-01-10
Код ATL может быть включен как часть трех операторов Ren'Py.
6.
Transform Statement
2014-01-10
Оператор Transform
7.
The transform statement creates a transform that can be supplied as part of an at clause. The syntax of the transform statement is:
2014-01-10
Оператор transform создает трансформацию которую можно передать как часть условия at. Синтаксис оператора transform:
8.
The transform statement must be run at init time. If it is found outside an init block, then it is automatically placed inside an init block with a priority of 0. The transform may have a list of parameters, which must be supplied when it is called.
2014-01-10
Выполнение оператора transform должно происходить во время инициализации. Если оно обнаруживается вне init-блока, оно автоматически будет помещено в init-блок с приоритетом 0. Трансформация может содержать список параметров, которые должны быть переданы при вызове.
9.
`Name` must be a python identifier. The transform created by the ATL block is bound to this name.::
2014-01-10
`Name` должно быть идентификатором Python. Трансформация созданная блоком ATL будет привязана к этому имени.::
10.
Image Statement With ATL Block
2014-01-10
Оператор image с ATL-блоком
11.
The second way to use ATL is as part of an image statement with ATL block. This binds an image name to the given transform. As there's no way to supply parameters to this transform, it's only useful if the transform defines an animation. The syntax for an image statement with ATL block is:
2014-01-10
Второй способ - использовать ATL как часть оператора image с ATL-блоком. Это привяжет имя изображения к данной трансформации. Так как таким трансформациям нет возможности передать параметры, они полезны лишь для анимации. Синтаксис оператора image с блоком ATL:
12.
Scene and Show Statements with ATL Block
2014-01-10
Операторы scene и show с ATL-блоком
13.
The final way to use ATL is as part of a scene or show statement. This wraps the image being shown inside an ATL transformation.
2014-01-10
Наконец, ATL можно использовать как часть операторов scene и show. Это передает показываемое изображение в ATL-трансформацию.
14.
ATL Syntax and Semantics
2014-01-10
Синтаксис и семантика ATL
15.
An ATL block consists of one or more logical lines, all at the same indentation, and indented relative to the statement containing the block. Each logical line in an ATL block must contain one or more ATL statements.
2014-01-10
Блок ATL состоит из одной или более логических линий, все из них должны быть одинаковой индентации, и индентированны относительно оператора, содержащего блок. Каждая логическая линия в блоке ATL должна содержать один или более операторов ATL.
16.
There are two kinds of ATL statements: simple and complex. Simple statements do not take an ATL block. A single logical line may contain one or more ATL statements, separated by commas. A complex statement contains a block, must be on its own line. The first line of a complex statement always ends with a colon (":").
2014-01-10
Существует два вида операторов ATL: простые и сложные. Простые операторы не берут ATL-блок. Одна логическая линия может содержать один или несколько ATL-операторов разделенных запятой. Сложный оператор содержит блок, и должен быть на своей сообственной строке. Первая строка сложного оператора заканчивается двоеточием (":").
17.
By default, statements in a block are executed in the order in which they appear, starting with the first statement in the block. Execution terminates when the end of the block is reached. Time statements change this, as described in the appropriate section below.
2014-01-10
По умолчанию, операторы в блоке выполняются в порядке появления, начиная с первого оператора блока. Выполнение прерывается по окончанию блока. Временные операторы изменяют это, как описано в секции ниже.
18.
Execution of a block terminates when all statements in the block have terminated.
2014-01-10
Выполнение блока завершается, когда завершится выполнение всех операторов в блоке.
19.
If an ATL statement requires evaluation of an expression, such evaluation occurs when the transform is first added to the scene list. (Such as when using a show statement or ui function.)
2014-01-10
Если оператор ATL требует вычисления выражения, это вычисление выполняется когда трансформация впервые добавляется к списку сцен. (Например, при использовании оператора show или функции ui.)
20.
ATL Statements
2014-01-10
Операторы ATL
21.
The following are the ATL statements.
2014-01-17
Ниже перечислены операторы ATL.
22.
Interpolation Statement
2014-01-17
Оператор интерполяции
23.
The interpolation statement is the main way that ATL controls transformations.
2014-01-17
Оператор интерполяции - главный способ управления трансформациями в ATL.
24.
The first part of the interpolation statement is used to select a function that time-warps the interpolation. (That is, a function from linear time to non-linear time.) This can either be done by giving the name of a warper registered with ATL, or by giving the keyword "warp" followed by an expression giving a function. Either case is followed by a number, giving the number of seconds the interpolation should take.
2014-01-17
Первая часть оператора интерполяции используется для выбора функции, ограничивающей интерполяцию по времени (т.е. функции от линейного времени к нелинейному). Это может быть сделано передачей ограничителя ATL, или ключевого слова "warp" и выражения-функции. В любом случае, после этого указывается число, дающее количество секунд, которое длится интерполяция.
25.
If no warp function is given, the interpolation is run for 0 seconds, using the pause function.
2014-01-17
Если не дано никакой функции-ограничителя, интерполяция будет длиться 0 секунд, с использованием функции pause.
26.
The warper and duration are used to compute a completion fraction. This is done by dividing the time taken by the interpolation by the duration of the interpolation. This is clamped to the duration, and then passed to the warper. The result returned by the warper is the completion fraction.
2014-01-17
Ограничитель и продолжительность используются для вычисления доли завершенности. Это делается делением времени, занимаемого интерполяцией, на его продолжительность. Это передается ограничителю. Результат, возвращаемый ограничителем - доля завершенности.
27.
The interpolation statement can then contain a number of other clauses. When a property and value are present, then the value is the value the property will obtain at the end of the statement. The value can be obtained in several ways:
2014-01-17
Оператор интерполяции может содержать несколько других выражений. Когда присутствуют свойство и значение, тогда значение будет передано свойству в конце оператора. Значение можно получить несколькими способами:
28.
If the value is followed by one or two knots, then spline motion is used. The starting point is the value of the property at the start of the interpolation, the end point is the property value, and the knots are used to control the spline.
2014-01-17
Если за значением следуют один или два узла, используется движение-сплайн. Начальная точка - значение свойства в начале интерполяции, конечная - значение свойства, а узлы контролируют сплайн.
29.
If the interpolation statement contains a "clockwise" or "counterclockwise" clause, circular motion is used, as described below.
2014-01-17
Если в операторе интерполяции есть условие "clockwise" (по часовой стрелке) или "counterclockwise" (против часовой стрелки), используется круговое движение, как описано ниже.
30.
Otherwise, the value is linearly interpolated between the start and end locations, using the completion fraction.
2014-01-17
В другом случае, значение интерполируется линейно между началом и концом, используя долю завершения.
31.
If a simple expression is present, it should evaluate to a transform with only a single interpolation statement, without a warper, splines, or circular motion. The properties from the transform are processed as if they were included in this statement.
2014-01-17
Если присутствует простое выражение, оно должно вычисляться в трансформацию с единственным оператором интерполяции, без ограничителей, сплайнов или круговых движений. Свойства трансформации обрабатываются как если бы они были включены в этот оператор.
32.
Some sample interpolations are::
2014-01-17
Примеры интерполяций::
33.
An important special case is that the pause warper, followed by a time and nothing else, causes ATL execution to pause for that amount of time.
2014-01-17
Особый случай - ограничитель pause, после которого указано лишь время, задержит выполнение сценария ATL на это количество времени.
34.
Some properties can have values of multiple types. For example, the xpos property can be an int, float, or absolute. The behavior is undefined when an interpolation has old and new property values of different types.
2014-01-17
У некоторых свойств могут быть значения разных типов. Например, свойство xpos может быть int, float или absolute. Поведение неопределено когда старое и новое значение свойства имеют разные типы.
35.
Time Statement
2014-01-17
Оператор времени
36.
The time statement is a simple control statement. It contains a single simple_expression, which is evaluated to give a time, expressed as seconds from the start of execution of the containing block.
2014-01-17
Оператор времени - простой управляющий оператор. Он содержит одиночное простое выражение, которое вычисляется в время в секундах от начала выполнения содержащего блока.
37.
When the time given in the statement is reached, the following statement begins to execute.This transfer of control occurs even if a previous statement is still executing, and causes any prior statement to immediately terminate.
2014-03-27
Когда пройдет время, указанное оператором, следующий оператор начнет выполнение. Это происходит даже если предыдущий оператор до сих пор выполняется, в таком случае, предыдущий оператор будет прерван.
38.
Time statements are implicitly preceded by a pause statement with an infinite time. This means that if control would otherwise reach the time statement, it waits until the time statement would take control.
2014-03-27
Подразумевается, что перед операторами time стоит оператор pause с неограниченным временем. Это означает, что если управление достигнет оператора time, оно будет ждать до передачи управления этому оператору.
39.
When there are multiple time statements in a block, they must strictly increase in order.
2014-03-27
Когда в блоке есть несколько операторов time, они должны быть расположены строго в порядке возрастания.
40.
Expression Statement
2014-03-27
Оператор-выражение
41.
An expression statement is a simple statement that starts with a simple expression. It then contains an optional with clause, with a second simple expression.
2014-03-27
Оператор-выражение - простой оператор, начинающийся с простого выражения. После него следует необязательное слово with с вторым выражением.
42.
There are three things the first simple expression may evaluate to:
2014-03-27
Первое выражение может быть одним из трех:
43.
If it's a transform, that transform is executed. With clauses are ignored when a transform is supplied.
2014-03-27
Если это трансформация, она выполняется. Условия with игнорируются.
44.
If it's an integer or floating point number, it's taken as a number of seconds to pause execution for.
2014-03-27
Если это число, оно будет принято как время для паузы.
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.
2014-03-27
В противном случае, выражение преобразовывается к отображаемому объекту. Этот объект заменяет потомка трансформации при выполнений данного оператора, что делает это полезным для анимации. Если существует условие with, второе выражение преобразуется к переходу, который применяется к новому и старому изображению.
46.
Pass Statement
2014-03-27
Оператор pass
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.
2014-03-27
Оператор pass - простой оператор, не делающий ничего. Он может быть использован для отделения операторов.
48.
Repeat Statement
2014-03-27
Оператор repeat
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.)
2014-03-27
Оператор repeat - простой оператор, который вернет управление к началу содержащего его блока. Если присутствует выражение, оно преобразуется к количеству повторений блока (так, блок заканчивающийся на "repeat 2" будет выполнен дважды).
50.
The repeat statement must be the last statement in a block.::
2014-03-27
Оператор repeat должен быть последним оператором блока.::