|
1.
|
|
|
NVL-Mode Tutorial
|
|
|
|
NVL モード
|
|
Translated and reviewed by
akakyouryuu
|
|
|
|
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.
|
|
|
|
ビジュアルノベルには、主に2つの表示方法があります。ADV スタイルのゲームでは、一般に画面の下部にあるウィンドウに台詞とナレーションを一度に一行だけ表示します。NVL スタイルのゲームでは、画面全体に広げられたウィンドウに一度に複数の行を表示します。
|
|
Translated by
Koichi Akabe
|
|
|
|
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>`.
|
|
|
|
このチュートリアルでは、Ren'Py を使った NVL モードのゲームをどのように作るかを説明します。このチュートリアルでは、 :doc:`クイックスタートマニュアル<quickstart>` で説明した Ren'Py の基本事項を熟知していることを前提とします。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:15
|
|
4.
|
|
|
Getting Started
|
|
|
|
はじめに
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
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
Koichi Akabe
|
|
|
|
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`` パラメーターをそれぞれのキャラクター宣言に追加します。例えば、クイックスタートマニュアルのキャラクター宣言を引用すると::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:26
|
|
7.
|
|
|
Changed to use NVL-mode, those declarations become::
|
|
|
|
NVL モードに変更するには、これらの宣言を以下のようにします::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
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.
|
|
|
|
ここで、 ``narrator`` という NVL モードのキャラクターも追加したことに注意してください。 ``narrator`` キャラクターは、関連付けられた名前を持たない、ナレーション行に使用されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
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
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:43
|
|
10.
|
|
|
The following is an example script with pagination::
|
|
|
|
次は、改ページを行うスクリプトの例です::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:48
|