Page 1 of 1

Multiple languages

Posted: Wed Mar 06, 2019 6:38 pm
by FurFles-
Hello, I'm doing a 2-language VN How do I get the player to choose before starting the game?

Re: Multiple languages

Posted: Wed Mar 06, 2019 8:27 pm
by Matalla
You can put some buttons in the main menu to do that, also in the preferences screen. Something like this:

Code: Select all

imagebutton auto "bt_english_%s.png" xpos 1000 ypos 86 action Language("english")
imagebutton auto "bt_spanish_%s.png" xpos 945 ypos 86 action Language(None)
If you want the user to make the choice before the main menu, I gues you can call a screen with those options in the splashscreen.

I am also doing a project in spanish with a translated version in english, and right now I have buttons in the main menu and in the preferences page. I will put something in the splashscreen too, but I have not done it yet.

Re: Multiple languages

Posted: Tue Apr 23, 2019 9:58 am
by ComputerArt.Club
Matalla wrote:
Wed Mar 06, 2019 8:27 pm

Code: Select all

imagebutton auto "bt_english_%s.png" xpos 1000 ypos 86 action Language("english")
imagebutton auto "bt_spanish_%s.png" xpos 945 ypos 86 action Language(None)
Thank you, this (None) example solved a problem for me. :)