Settings data limit. Can it be circumvented?

@Richard From my testing, it looks like there’s a flash data save size limit of 12258 bytes of data. Is there any way to increase this limit, just in the browser?
I’m trying to save, well, more than that amount of data… and this would be really great for that!
My other option would be converting the buffer using base64 encoding into a string, and having the player save that string somewhere else, but that is very annoying for the user. It would also be a very, very long string.
If you’re wondering, I’m trying to make a sort of 2D Minecraft game and I want worlds much bigger than 100 x 100. Each block is a single byte, and I could probably compress this to 2 blocks per byte if I had very few blocks, but using the full 0-128 range of each byte would be ideal once I expand the number of block types. Anyways, if this is physically impossible due to something like browser cookie size limits or something, that’s alright, I’ll work around it!

3 Likes

yes, we have a limit on there to match hardware. that being said, i’m a little hesitant to allow it to grow indiscriminately; i don’t know if that could be abused by a malicious script in some way… maybe flooding the localstorage to prevent new projects from saving.

however, there is no limit for projects that are hosted in github pages! i’d recommend using that

4 Likes