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
32 votes
4 answers
10k views

How can I protect my save data from casual hacking?

What options are there for saving game data in a secure manner? I'm interested in solutions specifically tailored for C++. I'm looking for something that is fast and easy to use. I'm only concerned ...
dan369's user avatar
  • 983
30 votes
5 answers
30k views

How to choose how to store data?

Until recently, I used two methods to store data on my non-game project: XML files, and relational databases. I know that there are other kinds of database as well: the NoSQL kind. However I don't ...
Eldros's user avatar
  • 419
30 votes
8 answers
25k views

Would it be better to use XML/JSON/Text or a database to store game content?

I'm considering how to implement a component-based game, as that seems to be the hot thing and I like the idea of such a flexible design. One of the features of such a design is that adding new ...
CodexArcanum's user avatar
  • 1,372
2 votes
3 answers
2k 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 ...
user avatar
38 votes
6 answers
24k views

What is a good file format for saving game data? [closed]

I need to save some custom game data. Map, player, etc. All of them will have "sub objects". For example, a map and map will have an "array" of tiles. ie, hierarchical data. Hopefully nothing ...
user697111's user avatar
22 votes
6 answers
15k 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 ...
felipe's user avatar
  • 397
8 votes
3 answers
13k views

How to handle a Block World like Minecraft

I want to write a simple game with a block world like in Minecraft. My theoretical question is what is the best way to handle this block informations during playing. My first Idea was a huge array but ...
danijar's user avatar
  • 5,741
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 ...
Slayter's user avatar
  • 185
2 votes
3 answers
2k 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/......
Morgan Frary's user avatar
0 votes
1 answer
243 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 ...
Nick Gotch's user avatar
8 votes
3 answers
594 views

Should game data be encoded in configuration files, given that it will almost always contain logic?

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
7 votes
1 answer
937 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 ...
Curiosity's user avatar
  • 123
2 votes
2 answers
1k views

Different ways to store a 2D map/landscape in XNA

I was looking around at this site about eight months ago and wish I saved the location of this topic but I was wondering the different map rendering styles that you can do in XNA. The one style I ...
Bradley Kreuger's user avatar
1 vote
1 answer
3k views

Saving Scores Using Cookies

I've recently created a small galiga like game recently using JavaScript and HTML5. I've run into a bit of trouble saving cookies, the cookie saves, but then resets itself when the page is refreshed, ...
Dylan Katz's user avatar
0 votes
1 answer
253 views

A few queries about my Map Data (& ideas of improvement, seconded opinion required)

so like the title says i'm trying to think of ways that i can basically improve my level/map data. Currently it's "alright" but i don't feel it's great. There's certain things that i'd like to-do to ...
dan369's user avatar
  • 983