A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Music Pixelart Poetry Home Patreon Scores JNKPlat Levels
Blog
Compressing Save Data
  12th October, 2018
The new bit-shifting seems to be functioning as expected in the save file.

-=-=-

Today I need to do some extra testing to be super sure, but as far as I can tell, I should now be able to fit 8 times as many levels into the "Online Levels" file without the game getting all freaked out.
A stress test on the 3DS will also be required, because.. I don't trust my own code!!
32-bit integers can be complicated, sometimes, with some systems storing them backwards (Endian), and others dealing with signed or unsigned values.

I'm not 100% sure how that might impact the bit shifting that I'm doing, so I'll need to double check everything's working correctly, and that it can cope in all scenarios.

But it's, for the most part, done. And the game can now store "complete" values for more than 400,000 levels. Yeay!
That really oughta be enough levels!

Next, I need to start work on the online component.
Eeek!

Views 41, Upvotes 4
Gamedev , 575 , Jnkplat2018
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2017 and onwards.
Blog - Compressing Save Data - AGameAWeek