I was thinking of using this code for storing and reading map information.
For example, collisions on a 8x8 tile map.
With something like this, I could simply write 8 bytes to a file, with each 0 or 1 in the byte telling whether the tile is passable.
For example, collisions on a 8x8 tile map.
With something like this, I could simply write 8 bytes to a file, with each 0 or 1 in the byte telling whether the tile is passable.