Questions tagged [storage]
The storage tag has no summary.
66 questions
1
vote
0
answers
48
views
Database or arrays
Generally for an RPG, would you say a DB like SQL server and MYSQL is over kill? RDB seems really convenient to pull and call from an inventory item for example, yet I see arguments that it is too ...
0
votes
0
answers
74
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
594
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
1k
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
169
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
117
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
191
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
490
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
727
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
0
answers
67
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
87
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
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 ...
0
votes
1
answer
149
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
1
answer
268
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
2
answers
219
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
3
answers
153
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
1k
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
311
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
7k
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
3
answers
432
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
48
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
261
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
vote
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
votes
1
answer
944
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
1
answer
343
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
1
answer
548
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
1
answer
731
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
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 ...
1
vote
0
answers
655
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
453
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
1
answer
129
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
219
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
1
answer
999
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
343
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
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
1
answer
913
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
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 ...
3
votes
2
answers
655
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
2
answers
128
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
3k
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
639
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
188
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
1
answer
93
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
1
answer
379
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
1
answer
505
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
2
answers
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
2
answers
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
1
answer
279
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:
...