Edit: To clear any possibilities, Im just using game_save("filename.ext") without any path, maybe now we have to add a path to make it work?
Edited by Manuel777, 08 June 2012 - 05:10 PM.
Posted 08 June 2012 - 05:08 PM
Edited by Manuel777, 08 June 2012 - 05:10 PM.
Posted 08 June 2012 - 05:30 PM
Posted 08 June 2012 - 05:37 PM
Hmmm.. any explanation from the yoyo guys? they where extremely useful functionsThey're gone.
Posted 09 June 2012 - 07:04 PM
Posted 10 June 2012 - 07:37 AM
Posted 10 June 2012 - 09:42 AM
Posted 10 June 2012 - 02:48 PM
...why not? It's perfectly feasible.INI files were designed to store settings, high scores or small data. It wasn't designed to save an entire Metroid clone game with hundreds/thousands of object instances, room settings, etc.
Posted 10 June 2012 - 03:03 PM
I suppose that makes sense.These functions never saved the whole game status, only the most important part of it. But with professional games that is almost always not enough. The designer really needs to determine what to save and what to not save. So it is now left to the designer. And normally it is really easy because you do not want people to save the game at any moment but only at some reasonable points (like end of level). (Remember, saving also costs time and interupts the game.)
Mark
I think that you could also make use of the file_text & file_bin functions if you wish to store large data e.g. data structures.INI files were designed to store settings, high scores or small data. It wasn't designed to save an entire Metroid clone game with hundreds/thousands of object instances, room settings, etc.
[player] lives=3 weapons=010101000010111100001101010000101001010101... items=0101010000101001010101101010000101001010101...etc.
Edited by alexandervrs, 10 June 2012 - 03:04 PM.
Posted 10 June 2012 - 03:14 PM
Posted 10 June 2012 - 04:17 PM
Posted 10 June 2012 - 04:19 PM
Posted 10 June 2012 - 05:16 PM
In my experience INI files are very slow for anything beyond a few kB.I think that you could also make use of the file_text & file_bin functions if you wish to store large data e.g. data structures.
INI files were designed to store settings, high scores or small data. It wasn't designed to save an entire Metroid clone game with hundreds/thousands of object instances, room settings, etc.
Although I don't think saving those in ini will have any difference
Posted 10 June 2012 - 06:05 PM
In my experience INI files are very slow for anything beyond a few kB.
I think that you could also make use of the file_text & file_bin functions if you wish to store large data e.g. data structures.
INI files were designed to store settings, high scores or small data. It wasn't designed to save an entire Metroid clone game with hundreds/thousands of object instances, room settings, etc.
Although I don't think saving those in ini will have any difference
Edited by alexandervrs, 10 June 2012 - 06:07 PM.
Posted 10 June 2012 - 07:30 PM
Posted 11 June 2012 - 03:13 AM
Edited by Manuel777, 11 June 2012 - 03:15 AM.
Posted 11 June 2012 - 08:36 PM
0 members, 0 guests, 0 anonymous users