Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Sorry for the fatal bug!😭

The error is that when moving buttons on the title screen, an error occurs and stops at the point where the string is converted to a number. As a result, all buttons have stopped functioning. The last error is "Double.Parse", but it is highly likely that other errors are cascading. The most likely cause is that the OS does not support 2-byte code and could not recognize it as a string. I need to replace all 2Byte codes in the game to solve this issue.🤔

(1 edit)

When parsing numbers, especially decimal numbers, it's often a good idea to specify System.Globalization.CultureInfo.InvariantCulture

Thank you for sharing that! I will use it👍

I added InvariantCulture to the Double.Parse operation and that fixed it! Thank you for the instructions on that😁

(2 edits)

like Brackethouse says it sems to be a localization problem, I tried to change the languge on a virtul machine whit fedora 34 and when the OS language has "." (language as english US, english UK and japanes) as decimal separetor the game works normaly, but when the decimal separetor is "," (languge as spanish and italian) it stop after clicking new game, continue or load button (gc list, option and key binding works normaly)

Yes, you are right! I was very mistaken. The decimal separetor's string to number conversion system was changed and it started working fine😆

Thanks for the follow-up and courage for the correction even if the internationalization side seems to be the problem, I was able to launch the game properly via the following command for example: LANG=en_US.UTF-8 ./Game.x86

(+1)

Thank you for letting me know how to resolve it!🤗

I will fix it so that it works correctly without adding that setting👍