4 ms·
I've been thinking lately that, in the unlikely event that I'll ever write a big computer game, I'd like to use SQLite as the save file. Too many games take age
by mcv 6y ago
I've been thinking lately that, in the unlikely event that I'll ever write a big computer game, I'd like to use SQLite as the save file. Too many games take ages to save or load the state, whereas updating a database with every state change seems much more painless. I don't have any experience with SQLite, but this article makes it sound like my idea would work very well.
- unnouinceput 6y agoSaving is usually done almost instantly because you just write a file. Loading is another beast on itself because the game engine needs to prepare the world. That's where it lies the most time, not in reading a file that has like couple MB on disk. Sure, go with SQLite if you want as a save, it won't matter anyway in the big picture.