The storage tag has no usage guidance.
3
votes
1answer
128 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
127 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
9 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
48 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
261 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,...
-2
votes
1answer
152 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 ...
0
votes
1answer
60 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
129 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
164 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 texture into OpenGL?
glEnable(...
19
votes
5answers
2k 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
114 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
80 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
44 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
124 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,...
0
votes
1answer
215 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
233 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 ...
2
votes
2answers
4k 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
178 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
492 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
1answer
250 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
0answers
59 views
Concepts to store XNA textures
I'm working on a graphic library supporting XNA with some cool features. To do so I need direct per pixel access to textures (RGBA). I've been wondering what are the advantages of using those two ...
0
votes
2answers
88 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
431 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 ...
1
vote
1answer
532 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
402 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
457 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 ...
7
votes
2answers
4k views
How can I put my game on an NES cartridge?
How can I create an NES cartridge? Is there any tutorial? I need to put a game that runs in an emulator and put it on a cartridge. How to do that? Is this possible from scratch? Or at least could I ...
-2
votes
1answer
128 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 *.txt file. I have there important data. What can I ...
0
votes
1answer
63 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
268 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
262 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
4k 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
843 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
168 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:
using Microsoft.Xna.Framework.Storage;
All the normal XNA ...
3
votes
3answers
3k 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
2k 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 ...
-1
votes
2answers
148 views
What''s easy extensible technique to store game data?
I'm looking for library/technique for storing my game resources - levels, object (effects,world info), items(price,effects,...), NPC(visual info, behavior), everything except graphics/audio stuff. I'...
1
vote
2answers
145 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. Mechanical Assembly is a more complex item that ...
9
votes
3answers
3k 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 ...
12
votes
4answers
20k 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
141 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
602 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 ...
5
votes
5answers
6k views
Is there a cross-platform special directory I can use for game save files?
I'm developing with LWJGL and Java on a Windows 7 laptop. I've successfully set up saving to the %appdata%\gamename\saves\ or long form c:\users\user\appdata\roaming\gamename\saves\ folder by using ...
4
votes
1answer
745 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 ...
8
votes
1answer
516 views
How should a team share/store game content during development?
Other than Dropbox, what out there has been especially useful for storing and sharing game content like images during development (similar feature set to Dropbox like working offline, automatic ...
0
votes
2answers
580 views
XNA Easy Storage XBOX 360 High Scores
To followup from a previous query - I need some help with the implementation of easystorage high scores, which is bringing up some errors on the xbox.
I get the prompt screen, a savedevice is ...
1
vote
1answer
460 views
Implementing a large scale (planet-like) level in XNA 4.0
What is the best way to implement continuous level throughout the game, using XNA? Imagine that I have a level with the size of a whole city (like in MMORPGs) however, the game will currently be ...
5
votes
1answer
1k views
MySQL - Storing Character Inventory
What is the best way of storing the character's inventory (consisting of each item having a value for type and quantity). The only methods I can think of is to use the "text" type of field then parse ...
6
votes
2answers
708 views
How to store 'dots and boxes' data?
I'm trying to explore a little as to how I could make a simple 'dots and boxes' game.
The problem I'm facing is in what way to store which lines are allocated by who. The problem lies in the fact ...
3
votes
2answers
1k views
Game Asset Storage - Graphics, 3D Models, Sounds
I've recently started completing games and accumulating "assets" -- graphics, sound effects, textures, 3D models, etc. that I can build on and reuse from game to game.
Is there a great, free place I ...