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.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
0answers
49 views

What strategies are best for managing Game Center and offline saves in the same app?

I have an iOS app for which I want to use the Game Center API for saving games. At the same time, I want to have the option to save multiple games on the local file system, using the familiar save-...
1
vote
0answers
205 views

Save game on Android keeps disappearing

my company has developed an Android game using Cocos2D-X. Game works quite well except that for some unknown reason, save games keep disappearing. Users report that they play the game for several days,...
1
vote
0answers
39 views

How to save characters in iOS game app

BOOL = GREENIE, UIButton =GREEN. When I click the GREEN button, I coded that now you play as GREENIE character. However, I don't know how to code it that the game always remember that the I clicked on ...
1
vote
2answers
442 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 ...
0
votes
0answers
44 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
0answers
18 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
43 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
22 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
11 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
53 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
48 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
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 ...
0
votes
0answers
411 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 ...
0
votes
0answers
658 views

Run a few seconds of simulation just after loading a scene

I'm looking for a way to execute 3 to 15 seconds of simulation once a scene is loaded. The problem is: some objects can be left suspended in motion while the player exits the scene. their state is ...
0
votes
0answers
2k views

pause or freezing game screen

I have a question regarding the pausing/freezing a game while a window/pausemenu will appear at center of the screen. I've already created a pausescreen class which will be called each time the back ...
-2
votes
1answer
418 views

iPhone game - saving player state data

I am developing my first app for iPhone, using C++ and some Objective C code to interface with ios sdk api. My app is obviously a game. I was wondering where to save the state of the player (in my ...