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
0
votes
0answers
25 views

Persisting save data on uninstall without sign in

I am looking for ways to keep a unique link between a user's device and their account without requiring users to sign into an account. The kind of system I am looking for is one like the game AFK ...
0
votes
1answer
87 views

Best way to save game data in Unity

I am currently developing a game in unity and I want to add some sort of saving system that saves the following: Locked / unlocked level. The amount of money the player has. Items / perks that the ...
0
votes
1answer
23 views

How can I update data saved using PlayerPrefs when there is a new version of my Unity3D game?

I'm using PlayerPrefs to store the players' highscore on each level, but in the next version I'll change how scoring works. For example, In the old version players could easily reach 250 points on a ...
0
votes
0answers
35 views

UE4 Procedural Planet Design

I am building a game that requires a full planet but it would be too complicated to create it as one mesh, so I decided that I will use procedural generation to create the (partially) editable ...
0
votes
1answer
23 views

Score won't save to Android in Game Maker Studio 1.4

I have oController as the first object to run when the game is opened. In oController's Game Start event I have the following code: ...
0
votes
2answers
80 views

Need help with using Player Prefs to save number of coins collected

I'm using unity 3D to make a game where the character collides with coins in order to collect them. When playing the game, the player should start out with zero coins and each time he collides with a ...
1
vote
1answer
60 views

Serializing nested ScriptableObjects with runtime changes

I'm making an effort to use ScriptableObjects more in my game architecture, after watching a fantastic Unity Unite talk on the subject. The central idea is to use ScriptableObjects, during runtime, as ...
2
votes
1answer
55 views

Tilemaps are loading differently each time

Tilemap data is stored in a 2D array. It is saved using the following code ...
2
votes
1answer
267 views

How can I save game “professionally”?

I am a novice programmer and just learned about the concept of saving and loading games. The way I am doing it is to write data into a text file and read it afterward. However, I realize how insecure ...
0
votes
0answers
47 views

Good way to establish an inventory system?

Fairly new to Unity as a whole, and while making a prototype game I came across the issue of setting up an inventory system. So far, I've been stuck on what sort of structure it should have, given: ...
0
votes
1answer
25 views

When updating app from Google Play will the app data be deleted? [closed]

My question is pretty simple. I developed a game, uploaded it on the store. In order to keep player level record and UI prefs it writes an ini file. When the next update is up on the store and the ...
0
votes
1answer
26 views

When PlayerRemoving event is fired, for loop does not work properly

while I was implementing the Backback save feature in my Roblox Game (using game.Players.PlayerRemoving:Connect(), I found that when I used a loop of any form (<...
0
votes
0answers
21 views

Why does every client that joins my server use my save data when loading their character stats? Unity / Mirror

I'm working on a dungeons and dragons first person game and I've been finishing up the character creation section. I've gotten to the point that you can choose your character's stats / ability scores ...
0
votes
0answers
59 views

Serializing object members within unordered_map and storing into binary file (C++)

I'm making a multiplayer game, the Server stores it's game world state as various std::unordered_map in a class called ServerWorldState. The server is composed by a single class called Game, which ...
0
votes
0answers
26 views

using Playerprefs on Android Mobile Platform

I have a question about playerprefs on my android mobile game not initializing properly. I have already pre-set my playerprefs data on a variable with a value of 3. In my play mode on unity the value ...
0
votes
0answers
12 views

Unreal - Where should I put my 'Save System Controller'

Making a save game system for a single player platformer game in Unreal. Needs to be accessible from the Main Menu Cannot be a component on the player. Where is the best place to put/store this ...
0
votes
1answer
65 views

Persisting unlocked characters in Player Prefs

I am working on a character selection menu in Unity. If you have enough coins, you can buy your desired character. Once player buys one, that character must not be locked on game restart, the number ...
0
votes
1answer
105 views

Is it safe to save data OnApplicationFocus and OnApplicationPause on mobile?

Unity has messages called OnApplicationPause and OnApplicationFocus. They are called on each ...
0
votes
1answer
70 views

Multiplatform game, save game state and resume it on other platform

This is for a personal and knowledge acquiring project. I want to create a little TIC-TAC-TOE multiplatform game, app & web. The choosen technology for the app will be Android or Flutter and for ...
4
votes
1answer
339 views

What Situations is Saving a Game to Main Memory for?

I've been reading through Unreal's 'Saving and Loading' guide: Link Within, they present a capability to save a game to main memory rather than secondary storage: I haven't found any information on ...
1
vote
1answer
44 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
203 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 ...
1
vote
1answer
44 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
201 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
1answer
331 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 ...
2
votes
2answers
914 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
71 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
171 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
393 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
96 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
286 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 ...
1
vote
1answer
51 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
1answer
132 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
3answers
341 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
569 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
1answer
97 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 ...
1
vote
1answer
188 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
2answers
103 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 ...
0
votes
0answers
61 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
62 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
45 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
186 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
163 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
70 views

How Do I Save A Value In c# Unity [duplicate]

...
2
votes
1answer
412 views

Unity - PlayerPrefs.SetString appears to save garbage data

In Unity, I have an InputField calling this method for OnValueChanged: ...
0
votes
1answer
941 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 ...