Skip to main content

Questions tagged [data]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
52 views

In the video you''ll see I change the Time Countdown to 500, but when the game is running the value is 15. I've had this issue before, and re-created the script / prefab from scratch. Can someone help ...
Anthony's user avatar
  • 11
1 vote
1 answer
107 views

I am beginning to work on a physics system, where there are multiple objects in the world that get rendered. The current approach I am considering consists of pseudo-OOP in C where each object has ...
CPlus's user avatar
  • 153
0 votes
0 answers
42 views

I'm trying to create a simple pie chart for my game (a strategy/simulation game) to show population demographic data for a province, but I'm struggling to figure out how to detect which slice is being ...
Jax's user avatar
  • 474
0 votes
0 answers
45 views

If I have a lot of data to save, say 500 ints for how many stars a user has collected, some text for user created levels, settings, etc. What would be the best method to save all of this? Should I use ...
CheckerT's user avatar
  • 176
0 votes
1 answer
396 views

How can I serialize a C# object (class, struct, etc) to a file without that file being easy to read? Binary Formatter First I used the Binary Formatter, which worked really well, but there were a lot ...
Pow's user avatar
  • 449
0 votes
0 answers
110 views

I am trying to find a way to keep my "key" data from 1 scene to another. While removing the key from the first scene, and keeping the information of the coin being collected onto my next ...
Mic flamey tee's user avatar
8 votes
3 answers
927 views

Question inspired by the accepted answer to another question: Wondering if there is a more efficient way to store level data in my game? The answer, by @Evorlor, says: You should have the data for ...
gaazkam's user avatar
  • 977
2 votes
1 answer
788 views

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, so I need to create a separate json file with ready-made data to load in the ...
Silz's user avatar
  • 37
0 votes
0 answers
184 views

I have found numerous examples of exporting Unity terrain to programs like Blender or just importing digital elevation files (DEMs) into Unity. But can a terrain generated in Unity be exported into ...
ten's user avatar
  • 1
0 votes
1 answer
90 views

I have a problem which I'm sure can be abstracted to some larger concept but I don't really have the knowledge to know what to google. I'll just explain what im trying to do and if you can please tell ...
iamconfusion's user avatar
1 vote
2 answers
224 views

Most of the numeric quantities used in games (aside from integers for counting or indexing objects) are single-precision floating point. This is IEEE format, which allows for numbers as big as 1e38 ...
rwallace's user avatar
  • 125
0 votes
1 answer
80 views

I am writing up my work and I'm trying to think of a word, or phrase, that better describes a 'partial load' of data. In my case, I have one very large file that is "environment A". To ...
James the Flooded Roads Guy's user avatar
0 votes
1 answer
91 views

Here is the situation: I have 10 weapons in my game, in main menu player may choose only two weapons that could take to the game, and this information about two weapons will save in a kind of "...
Silz's user avatar
  • 37
2 votes
3 answers
495 views

In mobile game development there are types of data that are not user save-data but are necessary for the game, we call it GM files. In my specific case, the GM files include text data such as "...
cr001's user avatar
  • 153
4 votes
1 answer
1k views

I recently read this answer on this site, which says the following: making sure no allocation/deallocation is being done while the game is running is a golden rule of thumb. I interpret this as ...
JensB's user avatar
  • 157
1 vote
1 answer
117 views

I've been using JSON to store a lot of my game's data. I love it compared to my previous workflow. Having a human-readable hierarchy of arbitrary information is a godsend. My needs have grown more ...
Loospie's user avatar
  • 191
2 votes
1 answer
872 views

I am currently practicing game design and development by implementing singular (or a small set) of mechanics in Unity. For example, -- and this is relevant towards the end -- I've just finished a ...
MightyOwl's user avatar
1 vote
1 answer
286 views

I store 2D animation frames in some class. But the problem is that when I want to create multiple objects for example I want to spawn explosion or enemy ...
Eminiox PL's user avatar
0 votes
1 answer
374 views

I am making a small game where I store information about the world around the player (like tiles) using a small 2d array of integers. In the game you can scroll the screen to the left or right. I also ...
da123's user avatar
  • 1
1 vote
1 answer
101 views

So this question is code or engine agnostic but, I’m looking for ideas on how a game can keep track of a pre-determined number of factions or alliances. For example, say I made a space game that has 2 ...
ACour008's user avatar
0 votes
0 answers
98 views

When developers plan and decide on new buffs and nerfs, do they gather information from online game matches, recorded secretly from their servers' data feeds and reconstructed / analyzed offline - for ...
ivan866's user avatar
  • 141
0 votes
0 answers
117 views

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 ...
Gabriel Minosso's user avatar
0 votes
1 answer
513 views

I'm moving from an old game dev tool to Unity, and wondering how to go about handling external data files. In my previous program I'd set up external (txt/ini) files like this: ...
Muckington's user avatar
2 votes
1 answer
242 views

Is there any good workflow/tooling for having good version control on spreadsheets for game data? Ideally something that supports branching or merging. Google spreadsheets allow people to edit data ...
nialna2's user avatar
  • 930
1 vote
1 answer
494 views

I am kinda new to Multiplayer Games and I am really wondering how I should handle my data Should each player send and update their data to the database (server) everytime one of their essential ...
Fvnex's user avatar
  • 13
0 votes
0 answers
304 views

I'm absolutely fascinated by the management games, such as Football Manager, with dozens of spreadsheets and thousand of pieces of data. Coding it all in Unity, especially for a prototype, feels like ...
Valentin Golev's user avatar
0 votes
1 answer
706 views

I'm creating a strategy-based kingdom expansion game, where you start with one city and try to expand as far as possible from there. All the cities fit on a hexagon-grid and are connected by the edges ...
Sarah's user avatar
  • 59
1 vote
1 answer
2k views

OpenDota, A community driven platform for DotA 2 matches and players data is the best open-access API in gaming scene. I found no casual tutorial for using its API, So, I decided to make a one. Your ...
user avatar
3 votes
1 answer
135 views

I am making a text turn based RPG fighting game in which you create your own spells. You also share them as JSON files with your friends. Sharing is required to win. The game is designed so that it ...
Spowmtom's user avatar
1 vote
1 answer
599 views

Hi^^ i am trying to read data in resource, which i used to do well without any problems. but suddenly it is not working. first i made immutable resource that has data in it, which is ...
KIM CHANGJUN's user avatar
6 votes
3 answers
1k views

For an RPG I want to generate a world with lots of NPCs, and the NPCs all have relations to eachother. They can be eachothers parents, children, siblings, friends, bosses, lovers, lieges, vassals, etc....
PaulMag's user avatar
  • 163
2 votes
1 answer
5k views

I am trying to display the first two bytes of a binary file as a test. I have the following code. ...
StackingofOverflows's user avatar
0 votes
0 answers
132 views

I have a voxel game in which you can run on blocks (chunks), jump and set/delete blocks. I want to write an asynchronous TCP server for it and choose boost asio as the network library. I have two ...
Dre4msNoEvil's user avatar
0 votes
1 answer
62 views

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 ...
virtouso's user avatar
  • 2,680
1 vote
3 answers
1k views

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 ...
Orbital's user avatar
  • 113
0 votes
2 answers
93 views

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 ...
JMorales's user avatar
1 vote
0 answers
237 views

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 ...
Sudeep Kandregula's user avatar
1 vote
1 answer
154 views

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 ...
CraftyMaelyss's user avatar
0 votes
1 answer
592 views

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 ...
Irakli Chkuaseli's user avatar
0 votes
1 answer
171 views

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 ...
Salar Muhammad's user avatar
0 votes
1 answer
282 views

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 ...
Nick Gotch's user avatar
0 votes
3 answers
152 views

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 ...
JimSocks's user avatar
0 votes
1 answer
261 views

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 ...
Ben Beazley's user avatar
0 votes
3 answers
380 views

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. ...
Dean's user avatar
  • 1
2 votes
3 answers
3k views

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/......
Morgan Frary's user avatar
0 votes
2 answers
933 views

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 ...
user avatar
0 votes
1 answer
260 views

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 ...
Mana Bat's user avatar
25 votes
3 answers
4k views

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 ...
JesseTG's user avatar
  • 1,097
1 vote
2 answers
3k views

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,...
Trey50Daniel's user avatar
2 votes
2 answers
3k views

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)...
erebel55's user avatar
  • 343