|
31.
|
|
|
The transform specified by the :var:`config.default_transform` variable is used to initialize the transform properties of images shown using the show and hide statements. The default value of this transform sets :propref:`xpos` and :propref:`xanchor` to 0.5, and :propref:`ypos` and :propref:`yanchor` to 1.0.
|
|
|
|
Трансформация указанная в :var:`config.default_transform` используется для инициализации свойств трансформации изображений, показанных через show и hide. Значение по умолчанию устанавливает :propref:`xpos` и :propref:`xanchor` в 0.5 а :propref:`ypos` и :propref:`yanchor` - в 1.0.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:161
|
|
32.
|
|
|
This represents a change in the default value of these style properties, which were previously uninitialized and hence defaulted to 0.
|
|
|
|
Это представляет изменение в этих значениях стилей по умолчанию, так как ранее они не инициализировались и, таким образом, принимали значение 0.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:167
|
|
33.
|
|
|
By including the :var:`reset` transform in ATL transforms, these properties can be reset back to 0. Alternatively, one can stop using the default transform, and revert to the old behavior, using the code::
|
|
|
|
Включая трансформацию :var:`reset` в трансформации ATL, эти свойства могут снова быть установлены в 0. Также вы можете прекратить использовать трансформации по умолчанию и вернуться к старому поведению используя следующий код::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:171
|
|
34.
|
|
|
If a transform does not define one of the position properties :propref:`xpos`, :propref:`ypos`, :propref:`xanchor`, or :propref:`yanchor`, that property will be taken from the transform's child, if the defines that property.
|
|
|
|
Если трансформация не определяет свойства позиционирования (:propref:`xpos`, :propref:`ypos`, :propref:`xanchor` или :propref:`yanchor`), эти свойства будут взяты от потомка трансформации, если он определяет такие свойства.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:184
|
|
35.
|
|
|
This makes it possible to have one transform control a displayable's vertical motion, and the other control the horizontal. But this is incompatible with previous behavior, and so can be disabled with the :var:`config.transform_uses_child_position` variable. ::
|
|
|
|
Это позволяет одной трансформации управлять вертикальным движением объекта, а второй - горизонтальным. Но это несовместимо со старым повеедением, так что это можно отключить с помощью переменной :var:`config.transform_uses_child_position`. ::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:189
|
|
36.
|
|
|
6.10.0
|
|
|
|
6.10.0
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:200
|
|
37.
|
|
|
The default positions (left, right, center, truecenter, offscreenleft, and offscreenright) are now defined as ATL transforms. This means that showing an image at such a position will cause the position to be remembered. If you do not want this behavior, you need to redefine these positions, by adding the code::
|
|
|
|
Позиции по умолчанию (left, right, center, truecenter, offscreenleft и offscreenright) теперь определены как трансформации ATL. Это означает, что показ изображения в этих позициях приведет к сохранению позиции. Если вы не хотите такого поведения, переопределите эти позиции используя следующий код::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:202
|
|
38.
|
|
|
6.9.2
|
|
|
|
6.9.2
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:218
|
|
39.
|
|
|
To migrate your game from Ren'Py 6.9.2 or later, copy the directory containing your game into your projects directory. You can choose a projects directory by clicking "Options", "Projects Directory" in the Launcher. Please see the `Ren'Py 6.9.2 release notes <http://www.renpy.org/wiki/renpy/releases/6.9.2>`_ for information about migrating from older releases.
|
|
|
|
Для миграции игры с Ren'Py 6.9.2, скопируйте папку с игрой в вашу папку проектов. Вы можете выбрать папку проектов нажав "Настройки", "Папка проектов" в Launcher. Пожалуйста, просмотрите `заметки к выпуску Ren'Py 6.9.2 <http://www.renpy.org/wiki/renpy/releases/6.9.2>`_ для получения информации о миграции с более старых версий.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/incompatible.rst:220
|