Posted November 10, 2024 by SimpleDigit
#LogiCountry #CityBuilder
Hello everybody! I decided to keep the versions in the standard form. Fixed a number of bugs. The main fix is related to saving the game. In the first version, the game was saved in IndexedDB and weighed hundreds of megabytes. Fixed the situation. Optimized the save logic. Now the save weighs kilobytes and is saved in localStorage. However, the size of the save depends on the size of the city in the game, in case of exceeding 5mb, the save will be written to IndexedDB