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
0 answers
38 views

Can't save high score in Unreal Engine blueprints

I'm trying to make a pinball game in Unreal Engine with blueprints, but the high score does not save. You have 2 lives while playing, and after the game ends this save game function executes. The game ...
user avatar
0 votes
0 answers
37 views

saving and retreiving parameters from file dynamically

I am trying to write a system for saving and loading a bunch of parameters at runtime. I have a central class CentralParams that holds all the parameters. Each ...
user avatar
2 votes
1 answer
130 views

How to design a save system for both desktop and webgl builds?

I am in the process of designing a save system for a game. I would like to save to a file and upload this file online so that it can be securely accessed via login from any computer. This works fine ...
user avatar
  • 1,687
0 votes
1 answer
53 views

How to add feature to save game at any location during gameplay?

recently I was playing Cold War a game released in 2005 ( please refer wikipedia link > https://en.wikipedia.org/wiki/Cold_War_(video_game) ). This game has feature where player can save game at ...
user avatar
-1 votes
1 answer
84 views

Best way to save game in story game

In a while I plan to create a story game that would have different routes and endings and I was wondering what would be the best way to save a game of a game like this, if it would be a folder, ...
user avatar
  • 1
0 votes
1 answer
36 views

What aspects do I need to consider when designing save-data of equipment reference in MySQL for online game?

Currently I have several things to save in MySQL for an online game. For simplicity let's say there are heroes, weapons and armors, where heroes can equip weapons and/or armors. Now I am facing three ...
user avatar
  • 153
0 votes
0 answers
36 views

How to save a class full custom property types and their data to disk

Background: My app is a sandbox with a large number of parameters that I want to be able to easily add / selectively expose to the user, edit during runtime through the game UI or from the Unity ...
user avatar
0 votes
0 answers
20 views

Audio class values don't load on event begin play

I'm trying to have it so all of the audio values (that are stored in an array in a savegame) load on event begin play in my first-person character blueprint but it doesn't load. It already works as ...
user avatar
  • 1
1 vote
1 answer
144 views

Unity C# XML How to load a saved position and a saved stage

I have a problem. I already figured out how to save the player stats (including the player position). But every time I load it back, the player ends up in the saved position but still within the open ...
user avatar
3 votes
1 answer
92 views

Storing stateful function-based actions in a JSON

System: My game uses an "ECS + event queue" architecture where every tick, various events change the state of JSON-able data. Plain JS objects. Problem: I want to be able to save the game-...
user avatar
5 votes
2 answers
478 views

Is there a game-design related reason why games with checkpoints don't implement "save on exit" as well?

This seems like a common question but I couldn't find it anywhere. Please excuse me, if this is a duplicate. EDIT: After receiving the first answer I realized this is too broad of a question. It does ...
user avatar
1 vote
1 answer
241 views

Unity - How to create a game-save with a preview image?

I want my game-save to be shown with a preview image. This is often seen in City Builder games: The game-save usually has a name, a date and often also provides a preview of the build city (just a ...
user avatar
0 votes
0 answers
450 views

Unity Easy Save 3

In Unity, I'm using Easy Save 3 to save and load data to a file in order to persist it between sessions. So far I've been using it in a more simplistic approach like: ...
user avatar
  • 107
0 votes
1 answer
171 views

How could I intercept a save scene action being run in Unity?

How could I intercept a save scene action being run in Unity? There is some code I would like to run in editor whenever a scene is saved. Is it possible for me to detect somehow when a scene is saved?
user avatar
  • 238
0 votes
1 answer
90 views

How to convert large grid data to easily saveable format?

I'm trying to recreate the grid system from RimWorld, and I'm facing an issue when having to save the map, which can be up to 500x500 tiles in size. My map has multiple layers, the base layer is ...
user avatar
1 vote
0 answers
140 views

Saving player Position and Rotation in Unity

I'm making a game using Unity, and I'd really appreciate knowing how to save and then load my player's position and rotation. I'm not very experienced at c#, so I ...
user avatar
  • 111
-1 votes
1 answer
217 views

How do I save my Highest Time for each level on playerprefs?

So I want to make hill climb wanna be game but have an issue with saving bestTime each level, the point is I want to save the best time for each level to ...
user avatar
1 vote
1 answer
979 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 ...
user avatar
0 votes
1 answer
346 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 ...
user avatar
  • 627
0 votes
0 answers
94 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 ...
user avatar
0 votes
1 answer
38 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: ...
user avatar
1 vote
2 answers
674 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 ...
user avatar
1 vote
1 answer
887 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 ...
user avatar
2 votes
1 answer
74 views

Tilemaps are loading differently each time

Tilemap data is stored in a 2D array. It is saved using the following code ...
user avatar
2 votes
1 answer
421 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
0 votes
1 answer
89 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 (<...
user avatar
0 votes
0 answers
444 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 ...
user avatar
0 votes
0 answers
87 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 ...
user avatar
0 votes
0 answers
15 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 ...
user avatar
  • 649
0 votes
1 answer
216 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 ...
user avatar
  • 19
1 vote
1 answer
840 views

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

Unity has messages called OnApplicationPause and OnApplicationFocus. They are called on each ...
user avatar
  • 5,221
0 votes
1 answer
92 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 ...
user avatar
4 votes
1 answer
355 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 ...
user avatar
  • 649
1 vote
1 answer
57 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 ...
user avatar
0 votes
2 answers
580 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 ...
user avatar
  • 1,863
1 vote
1 answer
46 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 ...
user avatar
  • 111
0 votes
1 answer
554 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 ...
user avatar
0 votes
1 answer
958 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 ...
user avatar
  • 101
3 votes
2 answers
1k 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 ...
user avatar
0 votes
2 answers
77 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 ...
user avatar
  • 1
1 vote
2 answers
474 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, ...
user avatar
  • 1,307
1 vote
1 answer
547 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 ...
user avatar
  • 113
0 votes
2 answers
211 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, ...
user avatar
0 votes
2 answers
509 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 ...
user avatar
1 vote
1 answer
94 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 ...
user avatar
  • 113
0 votes
1 answer
190 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 ...
user avatar
0 votes
3 answers
400 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 ...
user avatar
  • 151
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
110 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 ...
user avatar