• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Windows Creating executable with an option to choose game language

D

dzian

Guest
Hello,

Say a game supports multiple languages, is there any way to create executable with an option to show available languages of game? And make player choose language during installization in windows platform? Thank you.
 

FoxyOfJungle

Kazan Games
You can create global variables and choose the respective language later:

GML:
if global.language = "EN"
{
    global.lang[0] = "Hi";
    global.lang[1] = "How are you?";
    global.lang[2] = "I'm fine!";
}

if global.language = "ES"
{
    global.lang[0] = "Hola!";
    global.lang[1] = "Como tu estás?";
    global.lang[2] = "No hablo spanõl";
}
 
Top