I just use an integer to represent a tile; if it is above a certain number it is walkable, if not it is non walkble.
Saving and loading is quite simple, though you'll have to read a tutorial or book.
I just use an integer to represent a tile; if it is above a certain number it is walkable, if not it is non walkble.
Saving and loading is quite simple, though you'll have to read a tutorial or book.
Although I didn't attempt a binary map loader I am currently stuck on something else and right now I don't know if I feel like trying to work it out. I think that trying to make my engine modular using classes has over complicated it for me (I am pretty new to C++). So if I decide to continue (or restart) then I will probably rewrite it in C where I am more comfortable. But then I will try the binary map loader.