chore: restore demo assets for local development

This commit is contained in:
2026-06-09 23:29:18 +08:00
parent 3a7dd2f405
commit 96bc232a71
17 changed files with 33 additions and 92 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+5 -92
View File
@@ -5,77 +5,14 @@
"courage": 0,
"investigation": 0
},
"achievements": [
{
"id": "qte_master",
"title": "反应达人",
"description": "成功完成一次 QTE",
"icon": "",
"hidden": false,
"condition": { "variable": "qte_succeeded", "op": ">=", "value": 1 }
},
{
"id": "explorer",
"title": "探索者",
"description": "搜索过房间的所有角落",
"icon": "",
"hidden": false,
"condition": { "variable": "investigation", "op": ">=", "value": 2 }
},
{
"id": "game_finished",
"title": "通关达成",
"description": "完成一次游戏",
"icon": "",
"hidden": false,
"condition": { "variable": "completed_game", "op": ">=", "value": 1 }
}
],
"endings": [
{ "id": "trust_end", "label": "信任的伙伴", "sceneId": "trust_ending", "chapterId": "ch1", "thumbnail": "/images/end_trust.jpg" },
{ "id": "alone_end", "label": "独行之路", "sceneId": "alone_ending", "chapterId": "ch1", "thumbnail": "/images/end_alone.jpg" },
{ "id": "continue_end", "label": "继续前行", "sceneId": "continue_ending", "chapterId": "ch3", "thumbnail": "/images/end_continue.jpg" }
],
"chapters": [
{
"id": "ch1",
"label": "第一章:醒来",
"startScene": "intro",
"thumbnail": "/images/ch1.jpg",
"defaultVariables": { "trust": 50, "courage": 0, "investigation": 0 }
},
{
"id": "ch2",
"label": "第二章:调查",
"startScene": "desk_detail",
"thumbnail": "/images/ch2.jpg",
"defaultVariables": { "trust": 60, "courage": 10, "investigation": 1 }
},
{
"id": "ch3",
"label": "第三章:终局",
"startScene": "qte_success",
"thumbnail": "/images/ch3.jpg",
"defaultVariables": { "trust": 70, "courage": 20, "investigation": 2 }
}
],
"scenes": {
"intro": {
"id": "intro",
"videoUrl": "/videos/intro.mp4",
"subtitleUrl": "/subtitles/intro.vtt",
"subtitles": {
"zh": "/subtitles/intro.vtt",
"en": "/subtitles/intro_en.vtt"
},
"bgmUrl": "/audio/calm_bgm.mp3",
"bgmVolume": 0.6,
"bgmCrossFade": 1.5,
"videoMuted": true,
"choices": [
{
"text": "走向左边那扇发光的门",
"textKey": "scene.intro.choice.left_door",
"targetScene": "left_door",
"effects": [
{ "type": "add", "target": "courage", "value": 10 }
@@ -83,7 +20,6 @@
},
{
"text": "走向右边那扇普通的门",
"textKey": "scene.intro.choice.right_door",
"targetScene": "right_door",
"effects": [
{ "type": "add", "target": "courage", "value": -5 }
@@ -91,12 +27,10 @@
},
{
"text": "仔细搜索房间",
"textKey": "scene.intro.choice.search",
"targetScene": "investigation_site"
},
{
"text": "留在原地,什么也不做",
"textKey": "scene.intro.choice.stay",
"targetScene": "stay"
}
]
@@ -138,6 +72,7 @@
}
],
"choices": [
{ "text": "离开房间", "targetScene": "corridor" }
]
},
"corridor": {
@@ -177,8 +112,6 @@
"choices": [
{
"text": "与陌生人握手",
"textKey": "scene.left_door.choice.handshake",
"prompt": "陌生人会记住你的善意",
"targetScene": "trust_ending",
"effects": [
{ "type": "add", "target": "trust", "value": 30 }
@@ -193,11 +126,6 @@
"right_door": {
"id": "right_door",
"videoUrl": "/videos/right_door.mp4",
"skippable": false,
"bgmUrl": "/audio/tense_bgm.mp3",
"bgmVolume": 0.7,
"bgmCrossFade": 2.0,
"videoMuted": true,
"qte": {
"triggerTime": 1.0,
"prompt": "躲避飞来的石块!",
@@ -206,10 +134,7 @@
"successScene": "qte_success",
"failScene": "qte_fail",
"effects": {
"success": [
{ "type": "add", "target": "courage", "value": 15 },
{ "type": "set", "target": "qte_succeeded", "value": 1 }
],
"success": [{ "type": "add", "target": "courage", "value": 15 }],
"fail": [{ "type": "add", "target": "trust", "value": -20 }]
}
}
@@ -258,16 +183,9 @@
},
"stay": {
"id": "stay",
"videoUrl": "/videos/stay_loop.mp4",
"videoUrl": "/videos/stay.mp4",
"subtitleUrl": "/subtitles/stay.vtt",
"bgmUrl": "/audio/calm_bgm.mp3",
"bgmVolume": 0.6,
"videoMuted": true,
"loopStart": 3.0,
"loopEnd": 6.0,
"choices": [
{ "text": "站起来离开", "targetScene": "alone_ending" }
]
"nextScene": "alone_ending"
},
"trust_ending": {
"id": "trust_ending",
@@ -275,8 +193,6 @@
"choices": [
{
"text": "开启信任的旅程(需要 trust >= 80",
"textKey": "scene.trust_ending.choice.journey",
"prompt": "你们的羁绊将改变一切",
"targetScene": "secret_ending",
"conditions": [
{ "variable": "trust", "op": ">=", "value": 80 }
@@ -296,10 +212,7 @@
"alone_ending": {
"id": "alone_ending",
"videoUrl": "/videos/alone_ending.mp4",
"choices": [],
"onEnter": [
{ "type": "set", "target": "completed_game", "value": 1 }
]
"choices": []
},
"continue_ending": {
"id": "continue_ending",
+5
View File
@@ -0,0 +1,5 @@
WEBVTT
00:00.000 --> 00:02.000
You wake up in a strange room
00:02.500 --> 00:03.000
Two doors stand before you. You must choose.
+4
View File
@@ -0,0 +1,4 @@
WEBVTT
00:00.000 --> 00:05.000
你走进了一个凌乱的房间,仔细观察四周...
+7
View File
@@ -0,0 +1,7 @@
WEBVTT
00:00.000 --> 00:02.500
你走进了发光的门,来到一个明亮的大厅
00:02.500 --> 00:03.000
一位陌生人向你伸出了手
+5
View File
@@ -0,0 +1,5 @@
WEBVTT
00:00.000 --> 00:02.500
You enter the glowing door into a bright hall
00:02.500 --> 00:03.000
A stranger extends their hand toward you
+4
View File
@@ -0,0 +1,4 @@
WEBVTT
00:00.000 --> 00:03.000
你选择留在原地,时间缓缓流逝...
+3
View File
@@ -0,0 +1,3 @@
WEBVTT
00:00.000 --> 00:03.000
You choose to stay. Time passes slowly...
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.