Right, quick one. I've never made it far enough into a project to have to worry about save games before now, but I always assumed I would use INI++ or the Array object to save arrays and values there. This, of course, seems quite laborious, so I was pleased to see that the INI++ extension can simply save and load an entire Active Object, including all variables.
I have already used this for some basic settings with no issues, so my plan is to just carry on this way - have a series of global Active Objects which I'm using to store player attributes anyway and just have those save and load those in sequence. My question is - is there any drawback to this? It seems like a really easy way to go and I never see anybody else suggest this - everybody seems to use the arrays.
All I'm saving are things like, current XP, player level, player base attack, stats for current weapons, etc etc - all things that are already stored within Active Objects. I hope I'm not missing some sort of glaring problem with this.