Translations by theadmin
theadmin has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
1 → 27 of 27 results | First • Previous • Next • Last |
1. |
Transforms and Transitions in Python
|
|
2014-11-03 |
Трансформации и переходы в Python
|
|
2. |
Python can be used to create new transforms and transitions for use by Ren'Py scripts.
|
|
2014-11-03 |
Python может быть использован для создания новых трансформаций и переходов для использования в программах Ren'Py.
|
|
3. |
Transforms
|
|
2014-11-03 |
Трансформации
|
|
4. |
A transform is a python callable that, when called with a displayable, returns another displayable.
|
|
2014-11-03 |
Трансформация - функция Python, которая при вызове с отображаемым объектом, возвращает другой отображаемый объект.
|
|
5. |
For example::
|
|
2014-11-03 |
Например::
|
|
6. |
The python equivalent of an ATL transform is a Transform object.
|
|
2014-11-03 |
Эквивалент ATL-трансформации на Python - объект Transform.
|
|
7. |
A transform applies operations such as cropping, rotation, scaling, and alpha-blending to its child. A transform object has fields corresponding to the :ref:`transform properties <transform-properties>`, which it applies to its child.
|
|
2014-11-03 |
Трансформация применяет операции, такие, как кадрирование, вращение, масштабирование, установка прозрачности. Объект трансформации имеет поля, соответствующие :ref:`свойствам трансформации <transform-properties>`, которые она применяет к своим потомкам.
|
|
8. |
`child`
|
|
2014-11-03 |
`child`
|
|
9. |
The child the transform applies to.
|
|
2014-11-03 |
Потомок, к которому применяется трансформация.
|
|
10. |
`function`
|
|
2014-11-03 |
`function`
|
|
11. |
If not none, this is a function that is called when the transform is rendered. The function is called with three arguments:
|
|
2014-11-03 |
Если не None, эта функция вызывается при отображении трансформации. Эта функция вызывается с тремя аргументами:
|
|
12. |
The transform object.
|
|
2014-11-03 |
Объект трансформации
|
|
13. |
The shown timebase, in seconds.
|
|
2014-11-03 |
Время отображения в секундах.
|
|
14. |
The animation timebase, in seconds.
|
|
2014-11-03 |
Время анимации в секундах.
|
|
15. |
The function should return a delay, in seconds, after which it will be called again, or None to never be called again.
|
|
2014-11-03 |
Функция должна возвращать задержку (в секундах), после которой она будет вызвана снова, или None, чтобы отменить повторный вызов.
|
|
16. |
Additional arguments are taken as values to set transform properties to.
|
|
2014-11-03 |
Дополнительные аргументы являются значениями для установки свойств трансформации.
|
|
17. |
This is set to true when the function is called, to indicate that the transform is being hidden.
|
|
2014-11-03 |
Если True при вызове функции, это указывает на то, что трансформация скрывается.
|
|
18. |
If hide request is true, this can be set to false to prevent the transform from being hidden.
|
|
2014-11-03 |
Если запрос на скрытие истинный, можно установить в False чтобы предотвратить скрытие.
|
|
19. |
Call this method with a new `child` to change the child of this transform.
|
|
2014-11-03 |
Вызовите этот метод с новым `child` чтобы изменить потомка трансформации.
|
|
20. |
This should be called when a transform property field is updated outside of the callback method, to ensure that the change takes effect.
|
|
2014-11-03 |
Это вызывается когда свойство трансформации изменяется извне её функции, чтобы убедится, что изменения были успешны.
|
|
21. |
Transitions
|
|
2014-11-03 |
Переходы
|
|
22. |
A transition is a python callable that, when called with two keyword arguments, returns a displayable that performs the transition effect. The two keyword arguments are:
|
|
2014-11-03 |
Переход - функция Python, вызываемая с двумя аргументами-ключевыми словами, возвращает отображаемый объект, выполняющий эффект перехода. Аргументы:
|
|
23. |
`old_widget`
|
|
2014-11-03 |
`old_widget`
|
|
24. |
A displayable representing the old screen.
|
|
2014-11-03 |
Отображаемый объект, представляющий старый экран.
|
|
25. |
`new_widget`
|
|
2014-11-03 |
`new_widget`
|
|
26. |
A displayable representing the new screen.
|
|
2014-11-03 |
Отображаемый объект, представляющий новый экран.
|
|
27. |
The returned displayable should have a ``delay`` field, which gives the number of seconds the transition should run for.
|
|
2014-11-03 |
Возвращаемый объект должен содержать поле ``delay`` с числом секунд, которое требуется для выполнения перехода.
|