|
22.
|
|
|
Fullscreen Movies
|
|
|
|
Полноэкранные фильмы
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/movie.rst:44
|
|
23.
|
|
|
The easiest way to display a movie fullscreen is to display it using the :func:`renpy.movie_cutscene` function. This function displays a movie for a specified length of time. When that time has elapsed, or when the user clicks to dismiss the movie, the movie ends and the function returns. ::
|
|
|
|
Простейший способ отобразить фильм на весь экран - выхвать :func:`renpy.movie_cutscene`. Эта функция отобразит фильм на протяжении указанного периода времени. По истечении этого времени или при нажатии мыши пользователем, фильм завершается и функция возвращает управление игре. ::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/movie.rst:46
|
|
24.
|
|
|
This displays an MPEG-1 cutscene for the specified number of seconds. The user can click to interrupt the cutscene. Overlays and Underlays are disabled for the duration of the cutscene.
|
|
|
|
Это отображает фильм в формате MPEG-1 в течение определенного количества секунд. Пользователь может прервать фильм щелчком мыши.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:5
|
|
25.
|
|
|
`filename`
|
|
|
|
`filename`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:10
|
|
26.
|
|
|
The name of a file containing an MPEG-1 movie.
|
|
|
|
Имя файла с фильмом MPEG-1.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:10
|
|
27.
|
|
|
`delay`
|
|
|
|
`delay`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:16
|
|
28.
|
|
|
The number of seconds to wait before ending the cutscene. Normally the length of the movie, in seconds. If None, then the delay is computed from the number of loops (that is, loops + 1) * the length of the movie. If -1, we wait until the user clicks.
|
|
|
|
Количество секунд до завершения фильма. Обычно длина фильма в секундах. Если None, вычисляется из количества повторений, если -1, воспроизводит до щелчка.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:13
|
|
29.
|
|
|
`loops`
|
|
|
|
`loops`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:19
|
|
30.
|
|
|
The number of extra loops to show, -1 to loop forever.
|
|
|
|
Количество дополнительных повторений фильма, -1 - вечное воспроизведение.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:19
|
|
31.
|
|
|
Returns True if the movie was terminated by the user, or False if the given delay elapsed uninterrupted.
|
|
|
|
Возвращает True, если фильм был прерван пользователем, и False в противном случае.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/movie_cutscene:21
|