|
1.
|
|
|
NVL-Mode Tutorial
|
|
|
|
Режим NVL
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:7
|
|
2.
|
|
|
There are two main styles of presentation used for visual novels. ADV-style games present dialogue and narration one line at a time, generally in a window at the bottom of the screen. NVL-style games present multiple lines on the screen at a time, in a window that takes up the entire screen.
|
|
|
|
Существует два стиля презентации в визуальных новеллах. Игры стиля ADV представляют диалог и слова автора по одной строке, как правило, в окне расположенном внизу экрана. Игры стиля NVL представляют на экране сразу несколько строк, а окно занимает весь экран.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:9
|
|
3.
|
|
|
In this tutorial, we will explain how to make an NVL-mode game using Ren'Py. This tutorial assumes that you are already familiar with the basics of Ren'Py, as explained in the :doc:`Quickstart manual<quickstart>`.
|
|
|
|
В этой обучающей статье мы обьясним, как создать игру стиля NVL используя Ren'Py. Статья полагает, что вы уже знакомы с основами Ren'Py. Если нет, прочтите :doc:`Быстрый старт<quickstart>`.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:15
|
|
4.
|
|
|
Getting Started
|
|
|
|
Первые шаги
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:20
|
|
5.
|
|
|
NVL-mode can be added to a Ren'Py script in two steps. The first is to declare the characters to use NVL-mode, and the second is to add ``nvl clear`` statements at the end of each page.
|
|
|
|
Режим NVL можно добавить в программу на Ren'Py в два шага. Для начала, объявите персонажей, использующих режим NVL, а затем разбейте текст на страницы, используя оператор "nvl clear".
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:22
|
|
6.
|
|
|
Characters can be declared to use NVL-mode by adding a ``kind=nvl`` parameter to each of the Character declarations. For example, if we the character declarations from the Quickstart manual are::
|
|
|
|
Персонажи могут быть объявлены как использующие NVL-режим, добавив параметр ``kind=nvl`` в конец их объявления Character. Для примера, возьмем объявления из статьи "Быстрый старт"::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:26
|
|
7.
|
|
|
Changed to use NVL-mode, those declarations become::
|
|
|
|
Изменив их в NVL-режим, получим::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:33
|
|
8.
|
|
|
Note that we have also added an NVL-mode declaration of ``narrator``. The ``narrator`` character is used to speak lines that do not have another character name associated with it.
|
|
|
|
Заметьте, что мы добавили объявление NVL для ``narrator``. Персонаж ``narrator`` "произносит" строки у которых нет ассоциированного с ними имени персонажа.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:39
|
|
9.
|
|
|
If we ran the game like this, the first few lines would display normally, but after a while, lines would begin displaying below the bottom of the screen. To break the script into pages, include an ``nvl clear`` statement after each page.
|
|
|
|
Если мы запустим игру таким образом, несколько первых строк отобразятся нормально, но после некоторого времени, строки будут "выползать" за границы экрана. Для разбития сценария на страницы, используйте оператор ``nvl clear`` после каждой страницы текста.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:43
|
|
10.
|
|
|
The following is an example script with pagination::
|
|
|
|
Вот пример сценария, разбитого на страницы::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/nvl_mode.rst:48
|