Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Hello, I'm making a bot using BotBits and currently mostly everything works fine, however I want to add world saving functionality.
Is it possible to serialize an arbitrary block into a series of bytes?
In order to recreate most blocks, you only need their ID, which is easy enough to get, as it's just a ushort, however some blocks have morphs, ids, text, etc. Is it possible to make an elegant serialize function, or do I have to consider every type of team gates, portals, coin doors, signs, admin text, morphable blocks, world portals, etc and encode them differently in a switch case?
Has anybody else done something like this already, so I don't have to reinvent the wheel?
Once I can serialize a foreground block with custom args, I can serialize a world of Pair<BackgroundID, ForegroundBlock>[w, h] easily, this is the only element missing.
Pages: 1
[ Started around 1732430813.5481 - Generated in 0.030 seconds, 9 queries executed - Memory usage: 1.22 MiB (Peak: 1.29 MiB) ]