Original Post
My game levels are to be constructed out of multiple cuboids of different dimensions. I was wondering how I could effectively store my levels as binary files. Are there any tutorials on the internet that focus on creating unique file formats? I had the idea of creating a Cuboid class (im using C++) and having my map files simply be an array of cuboid classes each object containing specific deatils of the cuboid such as position and dimensions. This doesn't seem on paper to be very efficient but i could be wrong! What should I look into, in order to make the outcome as fast as possible and not be to greedy with processing power or required storage size.