Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [data]

Values of qualitative or quantitative variables, belonging to a set of items.

0
votes
0answers
16 views

How to save data in custom game mode of DotA2?

I built a custom game mode of DotA2. The custom game does some calculations on some of the player features like "kills, deaths, ... etc" every five minutes. I need to record all the results of the ...
0
votes
1answer
24 views

simple data source on hard disk for android game

i have a big library on my game. its word library. there is no need of it to be on ram.any moment some part of it can be searched so there is no need to make a list or dictionary for it. is there any ...
1
vote
3answers
226 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
0answers
24 views

Sharing data between scaled game servers

I have a multiplayer game with a single huge map. The map is divided into areas. Each area is 50x50 piece of the map. All players can move between each of the areas. There are hundreds of said areas. ...
0
votes
2answers
37 views

Transfer Codes between OS

I'm making a mobile game and had the idea of using transfer codes for taking one account to another device. Lately, I've seen this function being used in a lot of mobile games, you go to the game ...
1
vote
0answers
48 views

Other methods to save data than PlayerPrefs?

I've been saving data using the playerPrefs option in Unity till now. Is there any better/secure way of saving data for developing mobile games. Somes sites have mentioned encryption of data - how do ...
1
vote
1answer
55 views

Project transfer, will re-importing all my models damage my project at all?

Recently I had to transfer my Unity game project to another computer and downloaded the same version of Unity I was using for my 3D project and checked that all the files and folders were in the same ...
0
votes
1answer
114 views

How can I parse different types of objects from JSON?

I'm trying to save the player's inventory as a JSON data but I'm having a problem. I have a class Sword which extends an abstract class ...
0
votes
1answer
64 views

How do I keep Text[] values alive and reuse in the script [duplicate]

I'm building a bowling game in which I am trying to save the number of pins fallen on every turn to a UI text box, taken as an array (public Text[] Count). I'm able ...
0
votes
1answer
85 views

How to Store Design Data in Unity including Formulas?

My team is switching to Unity 3D for an upcoming project. I'm tasked with converting our game data system into Unity. Our existing games use spreadsheet documents (Google Docs) for designers to set ...
0
votes
3answers
96 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
101 views

Only first vertex of data used in shader OpenGL

I'm making a voxel game like Minecraft which was working fine until I added water. Then I realized that whatever the texture was for the first visible block was applied to the rest of the blocks in ...
0
votes
3answers
111 views

Unity - Where should downloaded level data be stored?

I've been looking around and it appears suggestions are only to store data to UserPrefs, or PersistentDataPath. I intend to have map files streamed to the client on demand, and saved for reuse. ...
0
votes
0answers
40 views

Stream data from pc to other computer

I'm working on a setup where I have multiple (4) kinects in one room and process the data to a single pointcloud. I want students (that are in the same room) to be able to connect to this stream of ...
2
votes
3answers
355 views

Protecting game assets through archiving

I'm writing a game in C++ (with OpenGL) and am getting quite far into development. Currently I'm loading the data directly from different directories. (E.G. I load textures from a /Data/Textures/......
0
votes
2answers
251 views

The best way to store and protect game data [duplicate]

I'm writing a sandbox-type game and i'm looking for a good way to store game data. I tryed Lua and plain text files, but the have a big minus - player can edit them his self! So how do I protect data ...
0
votes
1answer
113 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 ...
27
votes
3answers
4k views

For a custom game engines, what should I do if my core data is malformed or missing?

I'm writing a custom engine for a game. I started this game well before I understood why I should use middleware, instead, and it's too far along to rewrite. The vast majority of my data comes from ...
-1
votes
2answers
1k 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
2answers
1k views

Backend for data-driven multiplayer game

I am working on a match-based (5v5) multiplayer steam game that is similar to TF2, LoL, Dota 2, etc. I am planning a data-driven approach where character/abilities/items/etc are defined in data (JSON)...
5
votes
2answers
320 views

RPG Data (Skills, Monsters, Items, Equippables)

I'm creating a simple RPG type game. I've dabbled with the idea of just loading all the skills, monsters, items and so on at once. However, to do that seems horrible wasteful since I would have ...
1
vote
0answers
84 views

How does this work? Data catching without displaying client [closed]

Alright so this is about a game, but more generally this can probably be done for all games, I just want to figure out how the application accomplishes it. So it's for a game called League of Legends,...
1
vote
1answer
218 views

C++ : Library for creating 3d view picture [closed]

I've got a numerical simulation, where I have as an output 3d matrix of billion elements - the visualisation of data is 2d flat image: When I was starting I was just outputting 2d data to gnuplot, ...
7
votes
1answer
423 views

How can I minimise data sent through a network in a modern FPS?

I am aware of snapshot interpolation with the use of delta compression as being a technique used to minimise the amount of data sent in a modern FPS game like Quake 3, but what other techniques are ...
1
vote
1answer
798 views

Server/Client architecture

I have high experience In Java and Networking. Our team have built a effective server that can create thread-pools managing many players. But we have hit a brick-wall. The way our server works is that ...
0
votes
1answer
60 views

EXE-ifying custom levels/scripts/graphics/music

My game is pretty much just a game-builder, where you create your own levels, scripts, graphics, music etc. and the game just loads them from a file you tell it. But how would I make it so the user ...
0
votes
1answer
44 views

How do I store game data with cookies?

Im working on a game right now, but I was wondering how I would store the game data in cookies(in javascript) where you can load it up, and resume the last spot you were at. I was looking at some ...
1
vote
3answers
2k views

Saving/Loading PlayerPrefs only works in the editor

I'm creating a game which stores a few variables using PlayerPrefs. It saves and loads the PlayerPrefs perfectly fine while testing in the editor, however when I build it to WebGL or Unity Web Player, ...
2
votes
1answer
425 views

Efficient way to store information about neighbour chunks

I've finally managed to implement an infinite chunk loading system for my voxel engine. Since every chunk needs to have information about the border of the neighbouring chunks, I need to access them ...
17
votes
2answers
3k views

Does Steam provide persistent data storage to developers?

Does Steam provide persistent data storage (for custom data) to developers? For example, would an online shooter be able to store player statistics (kills, matches, player deaths, etc.) on Steam ...
0
votes
0answers
25 views

When saving data locally for a mobile game, how to protect it? [duplicate]

I am designing a mobile (iOS/Android) game and I try to save data (such as levels, coins, status) in local files. In this way, I am concerning a case that someone can just copy these files and give ...
2
votes
0answers
227 views

server/client architecture, how to combine physics data, scene graph and database over the network?

I'm writting a C++ server and a C++ client for a rpg game. The client is using OpenSceneGraph for rendering the 3D. RakNet is used for communication between the client and server. At this time, the ...
0
votes
5answers
117 views

How should data about past interactions be stored?

I have been developing a text-based rpg in C++, using sqlite as my database. When it comes to interactions that change the world around the player in some permanent fashion I have been unable to find ...
2
votes
4answers
402 views

How can I avoid sending the full game state so often?

I'm making a real-time 2D MMORPG in Java. Currently data all surrounding NPCs' and players' data is sent so frequently that the client crashes—it can't handle the data quickly enough. I'm sending data ...
0
votes
1answer
217 views

Sending block chunks through TCP

I am creating a 'Minecraft clone' and the game is going to be only multiplayer. I currently have a limited world (it's not going to be infinite) that is 512 chunks. Each chunk is 16(X) * 16(Z) * 128(...
0
votes
1answer
218 views

How to detect if players alter game files and stop them from entering the game server [duplicate]

as the question says. how can i check if a player modifies a file such as maps or spells in my rpg games that will be located as "/cache/spells", "/cache/maps" or "/cache/entities" and you get the ...
1
vote
1answer
249 views

Does compressing data before transfer make a game run faster?

I want to make my game as fast as possible as it is real time and fast paced. I have already decided to encrypt my data here and I was wondering whether compressing it would be faster for the client ...
1
vote
3answers
594 views

Is it worth it to encrypt data?

I am using Java to write a moderately simple video game and I need to transfer some large files (edit: Live game data and possibly assets.) between the client and the server. I need to decide whether ...
0
votes
2answers
95 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 ...
0
votes
1answer
93 views

What data to store along a vertex

Is there any other recommended data I should store in the vertex buffers aside from a vertex' coordinates, normals and texture coordinates? For example data I'd need for a feature that almost every ...
2
votes
2answers
977 views

Best practice to implement persistent data when using Tiled TMX map files?

A friend of mine and I are always talking about our current progress in learning game development. Recently, saving the game (data persistence) came up, and when I summarized how I tackled that for my ...
0
votes
2answers
174 views

How can I read a portion of one Minecraft world file and write it into another?

I'm looking to read block data from one Minecraft world and write the data into certain places in another. I have a Minecraft world, let's say "TemplateWorld", and a 2D list of Point objects. I'm ...
2
votes
2answers
354 views

How to manage Areas/Levels in an RPG?

I'm working on an RPG and I'm trying to figure out how to manage the different levels/areas in the game. Currently I create a new state (source file) for every area, defining its unique aspects. My ...
1
vote
2answers
840 views

In Android, is saving game data in a binary file a good approach?

I am nearly finished with my Android game, but I want to make sure my save format is good. I am working on a fairly large game, so data such as high scores, stars, etc. are stored for around 80 levels,...
1
vote
1answer
563 views

Data Locality and Polymorphism [closed]

I've been reading over the various chapters available at http://gameprogrammingpatterns.com, and in particular his chapter over Data Locality(http://gameprogrammingpatterns.com/data-locality.html) has ...
7
votes
3answers
1k views

Managing Voxel Data

I've been programming in C++ as a hobby for about 4 months now, and I've really loved creating stuff using voxels. I wrote a "game" (More of just a personal challenge, as I really only did the terrain,...
0
votes
1answer
127 views

Map editor undo function - Not actually setting values to tiles

I'm currently attempting to implement an undo/redo function for my map editor for a tile-based 2D platformer game made with XNA. I've found a lot of resources online about this and decided to try to ...
21
votes
6answers
11k views

Separating game data/logic from rendering

I'm writing a game using C++ and OpenGL 2.1. I was thinking how could I separate the data/logic from rendering. At the moment I use a base class 'Renderable' that gives a pure virtual method to ...
1
vote
0answers
565 views

How can I convert between float3 and float2 in HLSL?

I want to offload some 3D calculations to the GPU without raising my requirements to DX10. Specifically, I am generating densities in 64x64x64 3D blocks, which fit nicely into 512x512 2D textures. I ...
1
vote
1answer
2k views

How to check metadata stored in FBX files?

Is there a way to check and edit metadata information stored in FBX files? I'm using 3ds Max's fbx exporter. Can this be done with it or is there any other tool for that? For example: adding name, ...