From 2073fb056b9ca27444f5fd89c4b4f5b1600a4166 Mon Sep 17 00:00:00 2001 From: Yunease <155283861+Yunease@users.noreply.github.com> Date: Mon, 9 Feb 2026 00:53:10 +0800 Subject: [PATCH 1/2] Update dialogue.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加:;的语法糖 --- src/webgal-script/dialogue.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/webgal-script/dialogue.md b/src/webgal-script/dialogue.md index 71cfdce87..ba4847fe1 100644 --- a/src/webgal-script/dialogue.md +++ b/src/webgal-script/dialogue.md @@ -155,6 +155,14 @@ setTextbox:hide; // 关闭文本框 setTextbox:on; // 可以是除 hide 以外的任意值。 ``` +特别的,使用 `:;` 也可以关闭对话框,并且不需要通过 `setTextbox:on` 开启。示例: + +```ws +玩家:台词1; +:; //此时文本框被关闭 +玩家:台词2; //此时文本框正常显示 +``` + ## 结束游戏并返回到标题 如果你想要在剧情结束后结束游戏并返回到标题,请使用: From 497276d2cf8d9af0311c768367894e2d31a14b54 Mon Sep 17 00:00:00 2001 From: Mahiru Date: Tue, 16 Jun 2026 23:06:46 +0800 Subject: [PATCH 2/2] Update src/webgal-script/dialogue.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/webgal-script/dialogue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgal-script/dialogue.md b/src/webgal-script/dialogue.md index ba4847fe1..fd462d1f5 100644 --- a/src/webgal-script/dialogue.md +++ b/src/webgal-script/dialogue.md @@ -155,7 +155,7 @@ setTextbox:hide; // 关闭文本框 setTextbox:on; // 可以是除 hide 以外的任意值。 ``` -特别的,使用 `:;` 也可以关闭对话框,并且不需要通过 `setTextbox:on` 开启。示例: +特别的,使用 `:;` 也可以关闭对话框,对话框会在下一句对话出现时自动重新显示。示例: ```ws 玩家:台词1;