|
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
|
|
21.
|
|
|
NVL-mode characters can be customized to have several looks, hopefully allowing you to pick the one that is most appropriate to the game you are creating.
|
|
|
|
NVL モード・キャラクターの外観はカスタマイズできるため、うまく設定することで、作成中のゲームに最も適切な外観を選ぶことができます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:133
|
|
22.
|
|
|
The default look has a character's name to the left, and dialogue indented to the right of the name. The color of the name is controlled by the ''color'' parameter. ::
|
|
|
|
既定の状態ではキャラクター名が左側で、台詞がキャラクター名の右側にインデントされて配置されています。名前の色は「color」パラメーターで設定できます。 ::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/nvl_mode.rst:136
|