Hello! I've developed some small web-based games in the past, and now I'm moving on to bigger fish.
In the project I'm working on now, I have a map of tiles (100x100) that I want to save/load once the player has modified the world. At first, I assumed a CSV file would be the best solution to my problem. It's easy to read, edit, and converts nicely into a grid to store this map. However, I get the feeling that CSV files are not the best way to manage save data in a game, but I haven't found much information about it. Most people seem to recommend JSON or XML, but I'm not sure why. To me, CSV appears much easier, especially since GMS2 has a nice load_csv() function.
Could someone tell me why it might be better to use JSON or XML? Or maybe tell me why CSV should be avoided? Thank you!
In the project I'm working on now, I have a map of tiles (100x100) that I want to save/load once the player has modified the world. At first, I assumed a CSV file would be the best solution to my problem. It's easy to read, edit, and converts nicely into a grid to store this map. However, I get the feeling that CSV files are not the best way to manage save data in a game, but I haven't found much information about it. Most people seem to recommend JSON or XML, but I'm not sure why. To me, CSV appears much easier, especially since GMS2 has a nice load_csv() function.
Could someone tell me why it might be better to use JSON or XML? Or maybe tell me why CSV should be avoided? Thank you!