New games every week!
Further Complications
21st August 2018  


Last night, I saved my test level!
Unfortunately, it uncovered further complications.

-=-=-

I thought I could easily use the following method.

1. Open level file
2. Jump to position of level
3. Write level
4. Close level file

And that worked.. .. On Windows!
And then I double checked it on 3DS, only to find that when I wrote the data, then closed the file, the file would "end" at the position of the last write.

With that quirk in mind, I'm going to have to juggle a few bits and pieces of data, and add extra checks, to ensure that the data being saved to the file is correct.
A couple of "total levels in this file" values at the top and bottom of the file should suffice.

*ugh*
This isn't an easy task!!

Views 45, Upvotes 4
Daily Blog , 575 , Jnkplat2018
New games every week!
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2017 and onwards, site design Rychan. RSS feed
Blog - Further Complications - AGameAWeek