Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
37 views

How should I resolve saved game(cloud saved progress) conflict with local game progress?

I am using play game services and decided to create a small progress manager which will protect user progress. Now consider this, Player launches the game and sign in to cloud service (play game ...
0
votes
2answers
42 views

Unity - Save/load in a sandbox game, how to instantiate saved objects

I have a game where a player can place GameObjects. I can save/load this GameObjects data with using JSON, for example its position, but I cannot think of a good way to tell my save-file (and my ...
0
votes
1answer
87 views

How to encode a save game / game state as a string?

I'm building an HTML game. For this game I want to implement a save-feature that should work like in some already existing games: The user can chose export, this ...
1
vote
1answer
42 views

Codify user progress [duplicate]

I want to generate a string-code for the user that represents his progress in the game (so he can load this state somewhere else). I don't want him to be able to guess the system and thus load a state ...
0
votes
1answer
64 views

Modifying Brackeys Unity Inventory Tutorial for Stackable Items?

I followed this tutorial: https://www.youtube.com/watch?v=w6_fetj9PIw and the one after it, and it works fine, but now I'm in a situation where I want to be able to stack my items up. I saw there was ...
0
votes
2answers
60 views

Best way to retrieve const data

My game uses big const data which i need to retrieve it to use data used on each level when its needed data security is important I got two options in my head which one is better? Note the data is ...
1
vote
2answers
441 views

Cocos2d savegame cctmxtiledmap

my game features several tilemaps that are initially loaded from a tmx file and modified during gameplay. How can I save the changed tilemaps in a save game? Will NSCoding do the trick here or is the ...
2
votes
2answers
822 views

What is the reason that people avoid PlayerPrefs to store character data and coins etc?

PlayerPrefs are easy to implement and i think it can be used to store important game data like selected character and coins and completed quests for small games, but i have read too much to make me ...
0
votes
2answers
108 views

How can I implement versioning into a save system?

I currently have a crude save system in my game. When my game is first launched after download, it checks for three directories in a certain location on the client computer, ...
1
vote
1answer
138 views

Is this a reasonable method of detecting JS memory hacks?

I'm working on a single-player browser-based RPG in my free time. I do allow for saving the user's game on the server, but the game is largely going to run locally and I therefore acknowledge that it ...
0
votes
2answers
70 views

How to store the progress of multiple users

When I start my game, it displays a level menu, and When I select a level, it's gonna create a game corresponding to the level and I can play. Now I'd like to store the progress of each user, ...
0
votes
2answers
184 views

What method could I use to avoid using a lookup table for each item when loading a players inventory?

Let me explain a little about the pickup items and inventory to make this much clearer. Every in world item that can be picked up has a ScriptableObject assigned ...
0
votes
1answer
98 views

Unity Checkpoint System that remembers NPC interactions + Environment changes?

I have already implemented a checkpoint system that respawns the player at the last checkpoint they cross through. Now imagine this: NPC A interacts with NPC B NPC B walks over to a nearby car A bird ...
0
votes
0answers
19 views

Best way to update a file to a server from Unity?

I am new to Unity but was wanting to amp up my knowledge. I am creating some scouting software for my robotics team and they want to have the program to connect to a server and with the click of a ...
1
vote
1answer
37 views

How to protect save game data when saving game over the network?

Newbie question please - I am working on my own RPG, using Unreal Engine 4 and C++. Regarding data formats - I figured I would just make HTTP Post requests to store the data as JSON in AWS's ...
0
votes
3answers
296 views

How to build a better game save?

I am making a roguelike card game like dream quest, and I want to improve my dungeon/level save method. Here's what my levels look like: I checked dream quest saves but I don't like their method ...
1
vote
1answer
369 views

MonoGame Save Game Location Example

I am building a game using Monogame 3.6 and Visual Studio Community 2017. Up until this point I have been serializing the data using BinarySerialization and created a custom ...
0
votes
4answers
2k views

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 ...
33
votes
6answers
6k views

Is there a practical reason for saving game data in %UserProfile%\Documents instead of %AppData%?

My documents folder is flooded with subfolders of various games, including those of some very recent AAA titles. As a professional application developer with no experience in the gaming industry this ...
0
votes
1answer
73 views

Open world game state saving Android

As a hobby project I'm building a 2D game with a custom game engine in Android. Currently I can render a json map, and let the user interact with objects on the map. The game should be an open world ...
0
votes
2answers
98 views

Unity how to save the number of successive wins?

I'm making a trivia game on Unity, everything works fine and now I'm trying to save and retrieve the stats of a game. I have listed most of the stats (score, highscore, points) but now I would like to ...
1
vote
1answer
70 views

LibGDX Json writes only part of class

Hello I've been developing this game for awhile and now trying to implement save data via Json. I've gotten to where when the app is first launched it will write the Json file with the variables I ...
0
votes
0answers
57 views

How to save Player's progress with variables?

I'm trying to save and load my Player's progress. I have a serialized class named "gamestate". This class contains all of the Player's progress, number of lives, total points, etc. That class also ...
2
votes
1answer
56 views

Persisting Data with C#

In Unity, I'm trying to save the game data to a file to be loaded upon the game reopening. But for some reason it is not saving and I cannot figure out why. I have it so that if it cannot find that ...
0
votes
1answer
54 views

Is it possible to program a game to resume where it left off when you quit in Unity? [duplicate]

I have a game I'm making in Unity and now I'm stuck on saving. Is it possible to program a game to resume where it left off when you quit? Every time I search for this on Google I get nothing. Can ...
1
vote
0answers
66 views

How can I save data in Unity? [duplicate]

I'm making a game that's pretty simple and I really only need to save one int for when the game is closed (the scene the payer is at), but all the tutorials and ...
1
vote
0answers
44 views

What is the difference between engine approach and language approach in terms of saving game data?

I was asked to find a way to somehow save gamedata for a game we (my friends and I) are making and i found that there is something called engine and language approach. I have found something i would ...
0
votes
1answer
533 views

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 ...
3
votes
3answers
1k views

How to save large data in Unity?

Can anyone please tell me how to save data for Android. I have too much data to save (many npc-enemy stats). Also, it should work after updating: I read on stack overflow that, with ...
0
votes
1answer
146 views

Does it matter what file type my save file is?

So, I am looking into game development, and I just learned how save files work and how to create and implement them. Here is the code that I was using on Dev C++: ...
-3
votes
1answer
153 views

How would I attack saving a game?

In a lot of games, the player can save their progress. I have no clue how I would approach this and implement it into my game. My only thought would be to make a new file called "progress," and add ...
17
votes
1answer
2k views

How can I implement persistent state for objects defined in a level?

I am developing a 2D Metroidvania which consists of a series of interconnected levels that can be revisited. Each level is represented by a Tiled TMX file in which I have specified where various ...
0
votes
1answer
67 views
2
votes
1answer
367 views

Unity - PlayerPrefs.SetString appears to save garbage data

In Unity, I have an InputField calling this method for OnValueChanged: ...
0
votes
1answer
282 views

How can I parse different types of objects from JSON?

I'm trying to save the player's inventory as a JSON data but I'm having a problem. I have a class Sword which extends an abstract class ...
-1
votes
1answer
664 views

Save game feature in SDL 2?

I am making a 2D action-adventure platformer video game using the C++ computer programming language and the Simple DirectMedia Layer 2.0 (SDL 2.0.5) development library. So far I have created over ...
4
votes
1answer
385 views

What record stores the inventory in a Skyrim savegame file?

For The Elder Scrolls V: Skyrim, I'm looking for a way to read the player's inventory without having to go into the game to do it. I've scoured the pages from the UESP wiki on save file format but I ...
1
vote
3answers
1k views

How to keep Unity data after reinstall?

After the use uninstall/reinstalls my app, all of his serialized data is gone. Is there a way to store a file on a mobile device permanently - which persists through various installs? Without using a ...
0
votes
0answers
322 views

Serializing and writing a Dictionary of Vector2 keys and custom class values in Unity

I have tried to create code to serialize a Dictionary of <Vector2, Block>, where Block is a custom serializable class, loosely based off of this guide. I need ...
2
votes
1answer
86 views

How do I manually define save paths in GMS?

I want to know if it is possible to set the path for my game's save data in GameMaker: Studio outside of the two default options I am given in the program. The options I get are: ...
2
votes
0answers
39 views

Output save file name conflict [closed]

I am making a game in GameMaker: Studio, but I've run into a problem. Originally, the game would create three possible save files: save1 save2 save3 The issue is ...
1
vote
1answer
512 views

How to implement a save/load system in Unity? [duplicate]

Many game allows the player to save progress at any time and load the save back at any time (like Minecraft and Doom 3). I would like to implement it in Unity. I think I will need to put the value ...
4
votes
1answer
681 views

How do open-world game saves work? [closed]

(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 ...
0
votes
2answers
987 views

Storing a block world

I've gotten a basic Minecraft clone working (thanks to gamedev.stackexchange's help! ^_^), but know I have no idea how to save the file. Minecraft itself uses a naive list of block ids as far as I ...
-1
votes
1answer
39 views

Saving feature in Unity5 [duplicate]

I'd like to know how to accomplish saving, accessing old save files, and overwriting them.
0
votes
1answer
57 views

Saving Very Little Data But for Lots of Objects

Imagine 50 instances of one type of object and 25 instances of another. Both types of object needs to remember a simple Boolean or int for their own purposes that can be saved to file and reloaded. ...
1
vote
2answers
67 views

Why can I sometimes access Static objects' elements and sometimes not?

I'm making a game in Unity and I learned to make my Player object static for reference by other objects quickly and easily. So I have a "public static Player player." I remember when I first made this ...
1
vote
3answers
188 views

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?
1
vote
1answer
365 views

Way to deserialized or load last save state scene with GameObject and other classes instead of storing normal fields via binary format?

I humbly ask for help in order to solve this problem. I successfully take a quick guide to learn more about save and load state of the game. Basically first, I know how to use ...
1
vote
1answer
808 views

How to save and load scene in realtime?

I'm working on an editor where one important feature is to save and load changes (all type of changes like adding and removing objects and their components and components property values) I want to ...