From 4258bc40343ed73b96f9f413098d9f9f8e4ccddc Mon Sep 17 00:00:00 2001 From: cocos02 Date: Wed, 10 Jun 2026 11:43:44 +0800 Subject: [PATCH] feat: add minimal main.json as creator starter template --- public/scenes/main.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 public/scenes/main.json diff --git a/public/scenes/main.json b/public/scenes/main.json new file mode 100644 index 0000000..cddf707 --- /dev/null +++ b/public/scenes/main.json @@ -0,0 +1,25 @@ +{ + "assetBase": "", + "startScene": "scene_1", + "variables": {}, + "scenes": { + "scene_1": { + "id": "scene_1", + "videoUrl": "scene_1/video.mp4", + "choices": [ + { "text": "选项 A", "targetScene": "scene_2" }, + { "text": "选项 B", "targetScene": "ending" } + ] + }, + "scene_2": { + "id": "scene_2", + "videoUrl": "scene_2/video.mp4", + "nextScene": "ending" + }, + "ending": { + "id": "ending", + "videoUrl": "ending/video.mp4", + "choices": [] + } + } +}