feat: add minimal main.json as creator starter template

This commit is contained in:
2026-06-10 11:43:44 +08:00
parent b38969b108
commit 4258bc4034

25
public/scenes/main.json Normal file
View File

@@ -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": []
}
}
}