The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [storage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Unity Items not being removed from list

So I finally perfected my RTS multiple movement. The situation is that the game objects are added into a list in a script bound to the camera called UnitController ...
1
vote
0answers
22 views

Where to store constantly changing game data such as duels data?

I'm making a discord bot which allows players to collect and duel cards. All the cards, players and other data is stored in MongoDB but where should I store duels data? Duels data will keep changing ...
0
votes
1answer
43 views

How to store information about a simulated sport match in a browser game?

There is a browser game called Soccerstar where users play in a soccer team and compete in matches against other teams. Matches are scheduled at specific times of the day and played automatically and ...
1
vote
3answers
243 views

Is it possible to store ALL game data on the sever side

I want to make a game where everything is supposed to be a surprise. Everything from the maps to the enemies, no guides what so ever. For a normal player it may not be a big deal but some people may ...
0
votes
1answer
99 views

What is the optimal way to store customisation options?

I am trying to understand the most optimal way of storing customisation options within a game, or to be precise, to store all the possible customisation options for multiple different objects. For ...
0
votes
1answer
85 views

Redux-like storage in GD

Some background I've come from the world of web development. And it's a real trending in web to keep whole app's state in single global store (see Redux, discussion about it's benefits). Basically ...
1
vote
2answers
92 views

How can I boost cache performance when storing objects in a scene with managed languages?

So, for reasons that I won't go into (has to do with my team more so than a good objective reason, unfortunately), I'm building a soft game engine in C# on top of SharpDX. C++ wasn't an option. I can'...
0
votes
3answers
97 views

Disc based storage medium

I am only just dipping my toe in the water of game development, so forgive my ignorance if you will: Regarding console AAA titles with massive open-world settings: How do all of the art assets and ...
0
votes
1answer
314 views

Storing large amounts of voxels in file

I'm making a game similar to Dwarf Fortress and I've run into a large problem from the start. How can you store such a large amount of land on disk. With every voxel holding an integer with the 28 MSB ...
1
vote
2answers
238 views

How to securely store xml/json information about actors in a game?

I'm developing a 2D "small" offline rpg game, and to this point I have many actors (mobs, heroes, NPCs) and what I did, is created a class named "Actor" and each time I have a new actor I create a ...
2
votes
2answers
3k views

C++ alternative to vector for arbitrary number of objects using pointers

I'm working on a prototype 'life simulation' game which incorporates any number of objects / entities that may exist in the game. Up until this point I had been working with vectors of the objects, ...
-2
votes
3answers
212 views

How should I store a large number of rooms with objects in them?

Right now I'm using C# in XNA/MonoGame. I'm brainstorming an isometric game that consists of rectangular rooms. The allowed dimensions of each room range from 3x3x3 to 12x12x6. The max volume of each ...
1
vote
0answers
33 views

Paradigm for storing user data for iOS

Disclaimer: I'm not well versed in Game Dev best practices so this may be a trivial question. I'm developing an iPhone game in which I have to store a user profile containing such information as ...
0
votes
1answer
130 views

How flat-file and databases compare in games development? [closed]

Typically games built with a goal of being easily modded often store data in plain text documents, such as Rimworld. I can't see why an entire database system would be implemented just to read a few ...
-1
votes
2answers
2k views

Most Efficient Way to Store player stats/data in Unity C#?

I am looking at storing player data in Unity from a script that I'm writing in C# and I would like to get an opinion on the best way to store the player's stats/data about the player like hours played,...
-1
votes
1answer
556 views

What tile storage method is best for tile-based game?

I am making a simple tile based game. The tiles are Ground and Wall. The entities (dynamic objects) are Box and Player. I am storing tiles as 2d array of enum variables and both Box and Player has own ...
1
vote
1answer
127 views

Best practice to store level data in a rhythm based game

Setup: I'm planing to do a rhythm based game, where a level is a music score similar to Frets on Fire, but with real music. I've two options to store that level data, namely a MIDI file and a ...
1
vote
1answer
280 views

How should I store a procedurally generated grid level of an infinite size?

I have a 2d grid level. It infinitely grows. If it was not of infinite size, a 2D array would be perfect, as I need to constantly have each grid talk to its neighbors. For example, with a 2D array,...
4
votes
1answer
449 views

Stored Textures in C++ Projects

I have executed the following command in order to store a texture (PNG) file in a C++ header file: xxd -i Texture.png Texture.h. How would I go about loading this ...
19
votes
5answers
3k views

How to compress game frame by frame animation to a minimum on disk

I developing a game like Age of empire (buildings on map) and for every building I have a sprite sheet for its animation. I am using frame by frame animation to animate the building ( not aware of any ...
1
vote
0answers
304 views

Storing game resources in the *.dat file format to reduce file size [closed]

How can I store sprites(png) or audio files(wav) in the *.dat file format?
2
votes
1answer
225 views

Storing visibility graph for path-finding: do redundant and non-visible pairs of points have to be saved?

Using C# in Unity, I have recently implemented an algorithm that determines during run-time the visibility graph of a given scene in my game project (visibility between corners of obstacles). Now I am ...
-1
votes
1answer
57 views

What is the recommended way to store compressed textures in files?

Uncompressed textures can be stored in lossy formats such as jpeg and it saves a lot of hard drive space. However for obvious reasons you cannot do the same on compressed textures. So what is the ...
1
vote
0answers
203 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
1answer
552 views

How can I store point voxel terrain in octrees

I am writing a voxel engine in LWJGL3 - binding for OpenGL 4 for JVM. Recently I implemented an octree storage of cubic voxels. In my implementation each leaf node of an octree has one voxel, voxels ...
2
votes
1answer
297 views

How should we be storing procedurally generated behavioural code?

Me and a group of friends are developing a game and we've run into a road block. Before we describe that road block, here's a simplified explanation of our game: The game will be able to take in a ...
3
votes
2answers
6k views

Storing Type/Game Data Within A Unity 3D Game Using An Offline Flatfile Database

I've read several documents on how to manage game type data: Would it be better to use XML/JSON/Text or a database to store game content? How to choose how to store data? Im developing an offline ...
2
votes
1answer
444 views

SNES Limitations: Number of stored Graphics?

There are plenty of resources that tell you how many sprites can appear on a screen for a SNES game and how many per scanline. There is even answers for the number of tilemaps. But when I ask the ...
0
votes
2answers
1k views

Saving Scores on iOS and Android Devices using MonoGame

Quick question, what is the best way to save a game score in a mobile device (iOS and Android) using MonoGame (example would be a Flappy Bird score). You can also list ways and approaches of saving ...
3
votes
2answers
413 views

Is std::deque the best option for storing my graphics objects?

I am currently implementing an object buffer, which stores all the objects used in the game at one place. All other components of the game, like the user interface, the level loader, etc, add objects ...
0
votes
2answers
96 views

most effective storage of logged information [closed]

I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method. To log when a player connects and disconnects to a the server it ...
2
votes
1answer
888 views

How should I store grid-based character inventories in the database?

I used to encode the whole inventory data into binary but I'm thinking of doing something different now. The inventory has a 64 slots in an 8×8 grid. Large items like weapons fill up 6 to 8 ...
2
votes
1answer
1k views

Best way to store a large amount of game objects and update the ones onscreen

Good afternoon guys! I'm a young beginner game developer working on my first large scale game project and I've run into a situation where I'm not quite sure what the best solution may be (if there is ...
3
votes
1answer
480 views

storing user data for rpg

I'm creating a single player Web rpg that will store a decent amount of information about the player, items, map, npcs, etc. I have been developing html5, javascript, php, and the mysql database ...
2
votes
1answer
1k views

RPG - storing player data

Given the following tree structure, where each player logged in can have data for current and completed levels, quests per level, NPCs per quest, and multiple tasks per NPC... I'm trying to figure out ...
-2
votes
1answer
140 views

Safest place to store data [closed]

What is safest possible way to store data? Specific directory? (De-)hashing method? Specific permissions? Let say I have file *.txt file; the only ...
0
votes
1answer
68 views

Loading is not working after saving

I have difficulties to implement loading a savegame file in my Windows Phone project. I use EasyStorage to load and save files. I get the following exception when I try to load after saving a file. ...
1
vote
1answer
296 views

HTML5 mobile game storing data

I am developing an mobile application (in HTML5) that will run on multiple platforms and will eventually have both single and multiplayer options. The current issue I have is the best method for ...
0
votes
1answer
359 views

How to setup Authentication Database and Game Database?

I'm playing around with creating a game in C# using the XNA Framework. I've decided to use technologies that I'm pretty much familiar with and create things from scratch. There are probably frameworks ...
5
votes
2answers
6k views

How do I store level-data in Android?

I'm building a game where enemies come in waves. I want to create a file where I can define data about the waves (# of enemies, spawn times, speeds, etc.). I come from a background in iOS and would ...
11
votes
2answers
1k views

Ghost replay - storage and timing

I am working on a car race game and just implemented a ghost sprite for replaying past races. I use a physics engine and after much reading I came to the conclusion that the best way to store the ...
1
vote
1answer
225 views

XNA 4.0 storage framework not being recognized

This may be a silly question but, im unable to do any save game data because for some reason, this following namespace is unrecognizable: ...
3
votes
3answers
4k views

How should I store levels in a C++ game?

I am writing in C++. I am storing game levels as a 2-dimensional int array. This may be a hacky way of doing things, but I am not ready to change it unless I have to. I store values in the array and ...
0
votes
4answers
3k views

Storing huge 2D tiled map in a txt file

I'm working on a global startegy game that uses a 2D tiled map. The map is to be 8000x8000 tiles large (this size is fixed, the map stays the way it is throughout the game), since I'm covering a large ...
0
votes
2answers
171 views

What would be an easy extensible technique to store game data?

I'm looking for a technique for storing my game resources - levels, object (effects,world info), items (price,effects,...), NPC (visual info, behavior), everything except graphics/audio stuff. I've ...
1
vote
2answers
171 views

Where to implement storable items

I'm creating a multiplayer online trading game. The things that are traded range from raw items to complex products. For example Steel is a raw item. ...
10
votes
3answers
4k views

Storing a hex grid

I've been creating a small hex grid framework for Unity3D and have come to the following dilemma. This is my coordinate system (taken from here): It all works pretty nicely except for the fact I have ...
20
votes
4answers
37k views

What is the most efficient container to store dynamic game objects in? [closed]

I am making a first person shooter and I know about about a lot of different container types but I would like to find the container that is the most efficient for storing dynamic objects that will be ...
1
vote
3answers
142 views

iOS persistant storage with update function

im developing a game which has different levels and i need to store all levels and its elements (position, image, sounds,..) into a file/database. The levels will be updated so i need a function that ...
1
vote
2answers
650 views

How to keep the questions in Math game application ?

I would like to create a simple Math game application in android phone but I don't know what kind of data storage which I should use to keep the sets of numeric for the questions. At this time, I am ...