Questions tagged [savegame]

Questions about saving and loading (resuming, restoring) state of the game, allowing player stop and continue playing game at arbitrary moments of real and game time.

Game saving can be different in their realisation and tend to fall in some of the following categories:

  1. Any time exact state save: game saves state completely and restores it to exact same moment of game time.

  2. Game save stations and checkpoints: game can be saved at specific locations or saves aotomatically at some game story points.

  3. Diablo style 'save and exit': game is saved only on exit, and, to prevent cheating, usually some of the player progress is lost (he is returned to some checkpoint).

189 questions
37
votes
4 answers

In which directory to write game save files/data?

I need a definite list of directories, one or more per platform, of where to put game save files and other game generated data. Either based on the OS developer specification, or because it is common usage if there is no recommendation. Please…
Klaim
  • 2,624
  • 1
  • 26
  • 37
21
votes
4 answers

How do I implement a retro-style password-based "savegame" system?

How would I make a password system for a single-player game like the ones used in older console games? For example, Mega Man X saves work by giving you a series of numbers that you can enter later to load your save.
Accumulator
  • 786
  • 11
  • 28
5
votes
1 answer

How is the Call of Duty checkpoint system implemented?

Does anybody know how it is implemented or has any advice how to do it? I'm especially interested in how to avoid that a player dies right after a checkpoint. How does the game evaluate when it's save to do one. Of course there seem to be "simple"…
Christian
  • 153
  • 4
5
votes
1 answer

How do open-world game saves work?

(Sorry if this shouldn't be asked here, I'm unsure if it's appropriate based on what's allowed here.) I'm not developing a game, but I'm very curious about this. I've played some large open-world games recently (Dishonored, for example), and it…
vaindil
  • 155
  • 6
4
votes
1 answer

Forward Compatibility of Save Files

My game is driven by a scripting language, and the user can save at almost anytime in the middle of the script, so the instruction number of the script engine must be saved. The problem is that the game state breaks when the script is changed. If…
Ming-Tang
  • 1,040
  • 1
  • 12
  • 20
4
votes
1 answer

What are game save files?

I've reached the saving part of my game, as in, you press save and it writes to a text file, but I've noticed that most games and programs out there use custom save formats, like Dwarf Fortress DAT files. What are these? are these just text files…
Russell
  • 259
  • 3
  • 10
3
votes
2 answers

game resuming stats password

i'm asking for a more clever encoding algorithm to retrieving game stats which generates a shorter and more clear password for example i have this information's to be saved via a short CODE Health                    0 -…
payam_sbr
  • 129
  • 4
2
votes
1 answer

When do I save the buffer data to the database?

My entire game is server side and I use nodejs with mysql. When players connect or join a game, their player data (Items, Stash, Quests, etc) all get stored into the memory buffer. For example, if a player joins a game and there are 40 items on…
NiCk Newman
  • 155
  • 8
1
vote
1 answer

What's the easiest way to get a JavaScript game to save?

I'm doing a re-skin of and old open source web game, the current game is in HTML, CSS and JavaScript. I'm trying to redo the save game bit as I can't make sense of it and want something I can understand. I think it's relying on a database or…
red squirrel
  • 111
  • 1
  • 2
1
vote
3 answers

When is the right time to save game data in a standalone game?

For standalone game, what's the best time to save game data, such as player's coins, level, skill data and so on? Should the data be saved before quitting? Or whenever it changes? Or something else?
Andy
  • 11
  • 3
0
votes
4 answers

Saving and Loading File to Application.persistentDataPat not working on Android device

I am trying to save data and load data on the project i am working on, but i cant seem to get it work in an Android device it works fine on Unity when i play it, not sure what i am missing or done wrong here is the following code i use to save and…
Simon Chan
  • 3
  • 1
  • 3
0
votes
1 answer

Are binary storage methods more efficient than text based ones?

I'm working on a game which could potentially generate rather large save files, and so I'd like to find the smallest (most efficient, if you will) method of saving the game's data. I would need to save block types along with entity positions. Would…
caseif
  • 442
  • 1
  • 4
  • 12
0
votes
0 answers

Updating a game without the player having to start a new world

So im building a game in GameMaker(A engine im good with), the development is going great and im making good progress. (Not going to go into detail about the game, its unrelated) but the problem i have is that when i do an update the player is…
Ryan white
  • 173
  • 14
-3
votes
1 answer

How to save a lodu game state

I am coding lodu game in c++ and I want to know how to create a save file for my game, so that a user can play, and then come back later. Any idea how this is done
divya
  • 1