|
11.
|
|
|
While nvl-mode games generally have more text per paragraph, this example demonstrates a basic NVL-mode script. (Suitable for use in a kinetic novel that does not have transitions.)
|
|
|
|
NVL モードのゲームでは一般的に段落ごとのテキスト量が多くなりますが、この例では基本的な NVL モードのスクリプトの例を示しています。(トランジションの無いキネティックノベルでの使用に適しています。)
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:65
|
|
12.
|
|
|
Menus
|
|
|
|
メニュー
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:70
|
|
13.
|
|
|
By default, menus are displayed in ADV-mode, taking up the full screen. There is also an alternate NVL-mode menu presentation, which displays the menus immediately after the current page of NVL-mode text.
|
|
|
|
既定ではメニューは ADV モードの中で表示され、画面全体を占めます。一方の NVL モードでは、NVL モード向けのメニューも表示できます。その場合、メニューは NVL モードの現在のページのテキストの直後に表示されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:72
|
|
14.
|
|
|
To access this alternate menu presentation, write::
|
|
|
|
NVL モードのメニュー表示を行うには、以下のように書きます::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:77
|
|
15.
|
|
|
The menu will disappear after the choice has been made, so it usually makes sense to follow menus with an "nvl clear" or some sort of indication as to the choice.
|
|
|
|
メニューは選択が行われた後に消去されるため、メニューを ``nvl clear`` に続けて表示したり、選択したものが何であるか分かるような表示をするようにすると良いでしょう。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:82
|
|
16.
|
|
|
Showing and Hiding the NVL-mode Window
|
|
|
|
NVL モード・ウィンドウの表示/非表示
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:87
|
|
17.
|
|
|
The NVL-mode window can be controlled with the standard ``window show`` and ``window hide`` statements. To enable this, add the following code to your game::
|
|
|
|
NVL モード・ウィンドウは、標準の ``window show`` 及び ``window hide`` ステートメントによって制御できます。この制御方法を有効にするには、以下のコードをゲームに追加します::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:89
|
|
18.
|
|
|
Setting :var:`config.empty_window` to ``nvl_show_core`` will cause the NVL-mode window to be displayed during a transition. (The last two lines select the default transitions to be used for showing and hiding the window.)
|
|
|
|
:var:`config.empty_window` を ``nvl_show_core`` に設定すると、NVL モード・ウィンドウはトランジションを伴って表示されます。(最後の2行では、ウィンドウの表示/非表示の切り替えに使われる既定のトランジションを設定しています。)
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:98
|
|
19.
|
|
|
An example of using the window commands to show and hide the window is::
|
|
|
|
window コマンドを用いてウィンドウの表示/非表示を行う例を次に示します::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:103
|
|
20.
|
|
|
Customizing Characters
|
|
|
|
キャラクターのカスタマイズ
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:131
|