feat: video loop support for hotspot scenes, demo updates, docs, and engine fixes

This commit is contained in:
2026-06-08 21:48:47 +08:00
parent 5b40781d0a
commit 0dbe1b097d
6 changed files with 102 additions and 22 deletions

View File

@@ -183,9 +183,13 @@
},
"stay": {
"id": "stay",
"videoUrl": "/videos/stay.mp4",
"videoUrl": "/videos/stay_loop.mp4",
"subtitleUrl": "/subtitles/stay.vtt",
"nextScene": "alone_ending"
"loopStart": 3.0,
"loopEnd": 6.0,
"choices": [
{ "text": "站起来离开", "targetScene": "alone_ending" }
]
},
"trust_ending": {
"id": "trust_ending",