Nebulae
September 28, 2016, 11:27am
#1
Hey everyone!
We’re testing the first alpha version of our game, and we’d love to hear your opinions/suggestions/comments. It’s a very early alpha so please, be kind
Here is the PLAYCANVAS page so you can check how to play and so
https://playcanvas.com/project/418219/overview/crazy_fast_fourniture
Thanks in advance!
2 Likes
will
September 28, 2016, 12:00pm
#2
Cool game!!
Have you thought about doing something like this for localization:
var localization = {
newGame: {
en: 'New Game',
es: 'Nueva Partida',
fr: 'Nouvelle Partie'
},
nextLevel: {
en: 'Continue',
es: 'Continuar',
fr: 'Continuer'
}
};
var getLang = function () {
var lang = 'en';
if (navigator.language) {
if (navigator.language.substring(0, 2) === 'fr') {
lang = 'fr';
}
if (navigator.language.substring(0, 2) === 'es') {
lang = 'es';
}
}
return lang;
}
var getText = function (id) {
var lang = getLang();
return localization[id][lang];
}
Then you can just do:
var newGameLocalized = getText('newGame');
Nebulae
September 28, 2016, 2:33pm
#3
In fact this is very useful for us. Thanks a lot, @will
1 Like
Nebulae
October 5, 2016, 11:46am
#4
We’ve published a new version with some new features, and improoved FX. Please let us know what you think!
EDIT:
BTW @will we will prepare the localization when we finish this first alpha version I think it’s we’re achieving a good result here
1 Like
Nebulae
November 16, 2016, 10:53am
#5
Finally, we did a brief tutorial. When you press MENU during game, you will see all possible combinations.
We are working on localization right now!!
Thanks again for all your feedback, is priceless for us!
EDIT: Only visible in Mobile versions, working on desktop right now!
max
November 16, 2016, 11:42am
#6
For localisation you could use JSON type assets as well, so it is easier to manage.
1 Like
Nebulae
November 23, 2016, 9:30am
#7
Hi guys!
We finally added localization to our game! :), we still have to finish the responsive view for desktop devices, but we’re almost done with that!
2 Likes