Questions tagged [storage]
The storage tag has no usage guidance.
66
questions
0
votes
0
answers
28
views
Multiplayer Entities And Player Storage Systems
https://github.com/Zylann/voxelgame/issues/103 How can entities and player storage work for this demo? Are there any examples or prototypes?
Goal: Minecraft style entity and player storage system. ...
0
votes
0
answers
39
views
Firebase Storage, trying to download bytes, task never finishes nor triggers any errors
Firebase Storage's GetBytesAsync never finishes or changes status.
...
0
votes
1
answer
258
views
Putting two R16_UNORM in a R32_UINT
With my hardware limitation for CS5 I'm using R32_UINT in my shaders to store compacted colors and normasl as 555 bits each. My packing is using uint3 and the result is of poor quality.
I'm planning ...
0
votes
0
answers
834
views
Download a video to PersistentDataPath in Unity while also playing it as it downloads?
I am attempting to integrate a video function which will playback short looping videos (similar to YouTube Shorts or TikTok). I therefore want the videos to download to PersistentDataPath and be ...
0
votes
1
answer
107
views
Error using Asset Manager for loading files from Android temp directory (libgdx)
I'm creating a game for Android using libgdx and Google Firebase for storage. In my Loading screen I download a file from Google Firebase Storage and store it in a temp file. After the dowload ends ...
0
votes
0
answers
68
views
Looking for the best way to store game data that is meant to be user editable at runtime
I have a broad question, hopefully I'll synthesize it well. I've been looking for the best way to store the standard data of my project. So far, I've found 4 possible answers to my problem: Binary ...
0
votes
1
answer
122
views
Client Side Game Local Storage
I'm coding (or at least trying to code) a single player game in pure JS. I was wondering how I was gonna be able to write data without having the user setting up a server or a database, only way I ...
0
votes
2
answers
414
views
How to use local-storage
So I have this game and I would like to have a save function. Here is my code below:
...
0
votes
1
answer
615
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 ...
3
votes
2
answers
552
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 ...
3
votes
2
answers
7k
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 ...
1
vote
0
answers
48
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
1
answer
65
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 ...
0
votes
1
answer
236
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
3
answers
1k
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 ...
10
votes
3
answers
6k
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 ...
0
votes
2
answers
186
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
1
answer
890
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
1
answer
829
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 ...
1
vote
2
answers
164
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
1
answer
116
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
3
answers
101
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
1
answer
859
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
2
answers
265
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
2
answers
6k
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, ...
19
votes
5
answers
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 ...
-2
votes
3
answers
343
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
0
answers
34
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
1
answer
211
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 ...
0
votes
2
answers
3k
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
vote
1
answer
256
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
votes
1
answer
841
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 ...
4
votes
1
answer
685
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 ...
1
vote
1
answer
427
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,...
1
vote
0
answers
580
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
1
answer
376
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 ...
0
votes
2
answers
2k
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 ...
-1
votes
1
answer
99
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
0
answers
212
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,...
2
votes
1
answer
317
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 ...
4
votes
1
answer
908
views
Storing large layered tilemap
My game consists largely of "sea" tiles and areas of tiles to form "islands". Each "sea" tile is exactly the same.
The map is initially large and going to get larger. I'm trying to reduce the map ...
0
votes
2
answers
107
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
1
answer
1k
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
1
answer
2k
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
1
answer
597
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 ...
3
votes
1
answer
2k
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
1
answer
155
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 ...
3
votes
3
answers
5k
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
1
answer
74
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.
...
0
votes
4
answers
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 ...