feat: global assetBase for scene JSON, convert demo to relative paths

This commit is contained in:
2026-06-10 11:01:21 +08:00
parent 76477050d3
commit 937e709dca
3 changed files with 64 additions and 28 deletions

View File

@@ -100,6 +100,7 @@ export interface GameData {
scenes: Record<string, SceneNode>
startScene: string
variables: Record<string, number>
assetBase?: string
chapters?: ChapterInfo[]
achievements?: AchievementDef[]
endings?: EndingDef[]