Closed marouen-lamiri closed 9 years ago
hey everyone, i managed to create a simple save but i need now to know what we would like to save. What stats do we need to save? Do we need to keep the same map as the one previously generated? If so, do we need to keep track of the damage we did to the enemy?
well health and energy are technically a secondary stat so you need to save level-strength, dex, endurance-wisdom, spirit, and wtv the last one is called
yea, it will be removed, i used it as a visual indicator that it worked OK, so instead of health and energy, should be the stats Guillaume says
More specific stats are:
I added a Log to display the save-process in the console:
Tests # | Inputs | Expected Output | Status |
---|---|---|---|
Save Fighter's Primary Stats | Time Interval | Fighter's Primary Stats are saved when the Interval elapsed. | Pass |
Save Sorcerer's Primary Stats | Time Interval | Sorcerer's Primary Stats are saved when the Interval elapsed. | Pass |
Save Inventory Items | Time Interval | Inventory Items are saved when the Interval elapsed. | Pass |
Save Equipped Items | Time Interval | Equipped Items are saved when the Interval elapsed. | Pass |
These issues have been retested: #65 #64 #27 #28 #29 Tests failed: None Last edit: 07/04/2015
Character stats (and level) and inventory items are correctly saved when game is closed. Signing off.
[Priority: 2] [SP: 8] As a user, i want to be able to save my data