Yo, I’m trying to save an array of tiles to a bytearray in the best way possible (less filesize)
So I thought like, byte 1: length of the tile (in bytes), byte2=tiletype, byte3=x, byte4=y, byte5:movetoX, byte6:movetoY (because the tiles can be moveable and have infinite etc…
So I have to plan things before I start and idk if this would totally do it. Is there any useful algorithm of planning or a program or something that would make all this easier? (in the future too)
And do you have any tips regarding defining file syntax?