Hi. I've some images in the assets folder that have text on it. I'd like to have by example some ES and EN folders and i was wondering if this works , in setup file :
backgrounds: beach: assets/LANG/backgrounds/beach.jpg
HTML5 Visual Novel creation made easy and free · By
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"
],
}
Hello Alix, you where right! There was a bug in the LanguageChooser.js file. It's fixed now both in the RenJSMultilanguage example and in the RenJSQuicktstart. You just need to replace that file with the updated one and it should work. https://gitlab.com/lunafromthemoon/RenJSMultilanguage/blob/master/RenJS/Language...
Thanks for the bug report!