I have recently started learning java and I have a basic simple game I would like to save data.
I have tiles which I use for the background. its 55x32. I only need to save the tileID. I know of some ways I could go about this by saving it all into a string possibly dividing it with a comma. Then splitting it and re-creating it back from there. But.
I have a grid which is the same thing, 15x15 but this data would require multiple things such as object ID, cost, level, energy and so forth. And they are multiple of different things. Some might have energy while others will have metal.
How could I best save this data locally?