feat: configurable locales path per story, dynamic language switching from story data

This commit is contained in:
2026-06-10 12:17:52 +08:00
parent 4cf2263c78
commit 86a0aebdc8
10 changed files with 64 additions and 28 deletions

View File

@@ -1,5 +1,9 @@
{
"assetBase": "demo/",
"locales": {
"path": "locales/",
"languages": ["zh", "en", "ja"]
},
"startScene": "intro",
"variables": {
"trust": 50,