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.
193 questions
0
votes
1
answer
230
views
Is it too restrictive to require players to authenticate after 5 levels?
I made a little browser based puzzle game and the most bothersome feedback I got is in regards with the authentication, why do I force people to create accounts to play more than 5 levels.
My response ...
0
votes
0
answers
45
views
How to save data the most efficient [duplicate]
If I have a lot of data to save, say 500 ints for how many stars a user has collected, some text for user created levels, settings, etc.
What would be the best method to save all of this?
Should I use ...
0
votes
2
answers
534
views
Stray (orphaned) nodes remain after queue_free() of their parent scene
Godot 4.2.1
I have implemented a simple scene-save system:
The Savegame Autoload listens for the S key press.
When S is pressed, the ...
1
vote
1
answer
112
views
How do I restore the cooldown time left I have previously stored?
Wether I convert the timer's .time_left to an interger or a float it always gives me an error saying
...
0
votes
1
answer
112
views
Is it safe to store the state of a game in Javascripts localStorage?
I am going to be completely honest, this is not 100% about storing a game state in Javascript's localStorage, it is more to do with a utility program storing statistics. Since it can be related to ...
0
votes
0
answers
124
views
How to store a separate high score for each level
I'm trying to make a game in game maker studio 2 where the highest score and ranking is saved for each level.
I have an idea on how to do this for an entire game, but not individual levels. How can I ...
-1
votes
1
answer
221
views
godot saving games, explain like I'm five
using this tutorial, my game crashes before opening and gives 0 errors... doesn't even tell me what's wrong.
All the code I'm using is literally just this open project: https://github.com/...
1
vote
1
answer
1k
views
Unity Save System - is there a better way?
I've been trying to understand how best to approach carrying state over between scenes, and how to save/load game state. I've built an isolated project to focus on building out this approach.
You can ...
0
votes
1
answer
197
views
Storing achievement code logic in JSON vs in source-code
I am creating an achievement system for my game engine. I represent an achievement as a class takes a predicate function to determine if requirement for unlock has been met.
...
0
votes
1
answer
88
views
Confused about how specific bools or flags are actually accessed and used by other scripts
I have a problem which I'm sure can be abstracted to some larger concept but I don't really have the knowledge to know what to google. I'll just explain what im trying to do and if you can please tell ...
1
vote
2
answers
2k
views
How to check if a Vector3 or Quaternion are unassigned?
How can I check whether Vector3 and Quaternion are not "null"?
I have a saving system and didn't have a vector and ...
0
votes
0
answers
367
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 ...
0
votes
1
answer
252
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 ...
0
votes
1
answer
85
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 ...
1
vote
1
answer
227
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 ...
6
votes
2
answers
2k
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 ...
0
votes
1
answer
2k
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?
1
vote
0
answers
389
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 ...
2
votes
2
answers
2k
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
0
answers
107
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 ...
1
vote
2
answers
1k
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 ...
2
votes
1
answer
104
views
Tilemaps are loading differently each time
Tilemap data is stored in a 2D array.
It is saved using the following code
...
0
votes
1
answer
41
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
0
answers
886
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
0
answers
34
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 ...