I’ma make this quick and simple, because I have a mini game jam submission to work on. I’ve been trying to make a system where I can encode and decode the position, type, and variant of furniture in a game. And use the settings extension to save the data.
I made an encoder that would take a string of data, and convert it to a large ASCII code. The code would then be taken apart during the decoding process, and converted back to a normal string. It would then read the string and separate the data from it and load the settings along with the furniture itself.
Problems began when I finished the decoder, although it was originally supposed to decode a large number. It instead decoded a number with a ‘exponential notation’. After doing some more research, I found out the number was too large to simply be saved as the number itself.
I’m trying to get this system up quick so I can go back to working on content for my project. I tried looking into maybe making a encoder/decoder with Base32. But I don’t even know how I would start with something like that.
Any help is appreciated .
(P.S. sorry for the initial lack of screenshots and such. I’m currently on my phone at the moment, but I’ll try to attach some screenshots of code when I get the chance.)