Load - Save
LAdrian
Member Posts: 237
Hi guys!
I was wondering what is the usual workflow for when I need to save the game settings so after I quite and I enter again I can resume where I left.
I would like to save each time the level ends so my question is do I need to manually put a save attribute for each attribute I want save?
I have: Level number, Hero life, Hero no. of lifes, ammo for each of the 10 fire weapons, money, for each weapon if has been bought or not, what's the active weapons plus some more I'm sure.
Isn't this like gonna take for ever? Is there an other way to do it?
Thank you,
Adrian
I was wondering what is the usual workflow for when I need to save the game settings so after I quite and I enter again I can resume where I left.
I would like to save each time the level ends so my question is do I need to manually put a save attribute for each attribute I want save?
I have: Level number, Hero life, Hero no. of lifes, ammo for each of the 10 fire weapons, money, for each weapon if has been bought or not, what's the active weapons plus some more I'm sure.
Isn't this like gonna take for ever? Is there an other way to do it?
Thank you,
Adrian
Comments
Good luck!
Nope. I was surprised how fast it is - I have a rule with display text behavior, and after saving, this rule makes the text (Saved) visible. From clicking on Save button to "Saved" text, is just a few seconds, maybe up to 30 on the old iPhone.
self.Position.Y
Youll have to save both if you want to save both horizontal and vertical position.