Hi! I've encountered an issue. I have declared 3 langages EN, ES, and FR but whenever user clicks on one of the other buttons, then, only the EN story is loaded. I only changed the size of the game screen.
My config file looks like this, and i have a repository for each langage name EN, ES, FR with a specific story for each:
var globalConfig = {
w:1000,
h:659,
mode: "AUTO",
scaleMode: "NO_SCALE", //SHOW_ALL, EXACT_FIT, NO_SCALE i18n: {
langs: ["en","es","fr"],
path: "assets/gui/i18n/",
format: ".png",
w: 163,
h: 83
},
splash: { //The "Loading" page for your game
loadingScreen: "assets/gui/LANG/splash.png", //splash background
loadingBar: {
fullBar: "assets/gui/LANG/loadingbar.png",
position: {x:111,y:462}
}
},
logChoices: true,
fonts: "assets/gui/fonts.css",
guiConfig: "story/GUI.yaml",
storySetup: "story/Setup.yaml",
//as many story text files as you want
storyText: [
"story/LANG/YourStory.yaml"
],
}