perjantai 18. heinäkuuta 2008

Saving and Loading

Today I made a huge progress with saving and loading. They actually work ( to a point :D). Game creates file .dat which holds every player variable except effects and quests ( which I have to save separatly). Game also saves items and mobs of visited locations into file __mobs.dat /_items.dat. I tested this by creating temporary worldmap of 6 places..

Loading the game seems to crash sometimes, I have to trace that bug before doing anything else. So far I know that it has something to do with items.. itemList of the current enviroment bugs somehow.. Haven't figured out yet is it the saving of the enviroments items or loading them up which bugs.

Ei kommentteja: