Score update for windows
In the V3 version, I improved the display of the score with a right scrollview but also found the reason why on Windows all score where about zero.
The issue is due to the culture. My server store datas in English but most of my players are not English and so the decimal separator is quite different.
For those using unity here is the trick to work around this kind of issue and being able to parse float dans single the right way. Add in where your main awake should be.
string CultureName = Thread.CurrentThread.CurrentCulture.Name;
CultureInfo ci = new CultureInfo(CultureName);
if (ci.NumberFormat.NumberDecimalSeparator != ".")
{
ci.NumberFormat.NumberDecimalSeparator = ".";
Thread.CurrentThread.CurrentCulture = ci;
}
Enjoy the V3.Get Toilet Shooter
Toilet Shooter
A strange FPS
Status | Released |
Author | nekogeekaku |
Genre | Shooter |
Tags | FPS, Funny |
More posts
- Score availableJun 10, 2021
Leave a comment
Log in with itch.io to leave a comment.