Challenge File Format


Aight, so I recently just added the challenge file format and I gotta say that it was not the hardest thing I have ever done.

It was not so hard because I have actually wrote quite a few file formats, both binary dumps and just plain ascii as this one is.
I primarily wanted to write this tech discussion up about the notion that I am using an ascii format to store relatively important game data and the simple reason why.

So that "simple reason" is just that it's easier for anyone to go in and edit the values raw. Furthermore, when i'm just reading the file for whatever reason I might have, I don't have to go lookup the binary format to try to mentally interpret the actual data.
Furthermore, since the file's data is interpreted only while the main menu is up, there is no gameplay impacting perf loss on X platform. The only real danger is if X platform cannot have its file loading / in the future writing api be accessed potentially every 30 or so frames (depends on how fast you move the cursor to show different challenges on screen).

Now that i'm writing this, I just realized that if you're playing the game with only a mouse and keyboard, you shouldn't be able to load up new challenges below the currently displayed list. So uhhhhhh I gotta go fix that when I get time again LOOOOOL

@Keyboard and mice players, try to just hover the mouse on the last challenge item and press 'S' on your keyboard. That should hopefully do the trick (I haven't tested this yet so don't blame me if it doesn't work (or actually blame me because I haven't written the  code yet LOOOL)).

I mostly just wanted to write about the fact that the file is ascii with this post and I am happy to answer any questions that you might have or listen and participate in discussion about why a bin format would actually be better in this case (because in the ascii case or even if it were bin, I do plan on having menus where you can edit the values of challenges in game for dev purposes but do want to release to ya'lls too).

Anyways, have an awesome day and thank you for reading!!!! Please let me know what your thoughts are on my game or this particular issue!

Files

Funmi_Windows.exe 222 kB
Sep 26, 2021
ChallengeList.txt 3.1 kB
Sep 26, 2021

Get Funmi

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.