Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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
0 votes
0 answers
275 views

Workflow for a data-heavy, almost spreadsheet-like management game

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
631 views

Good data structure for storing graph-like map

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
6 votes
3 answers
1k views

How to store relations between NPCs?

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
2 answers
3k 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)...
erebel55's user avatar
  • 343
1 vote
1 answer
173 views

How to model / where to store relational data between classes

I'm trying to figure out the best design here, and I can see multiple approaches, but none that seems "right." There are three relevant classes here: Base, TradingPost, and Resource. Each Base has a ...
Walker's user avatar
  • 113
6 votes
3 answers
886 views

Deleting a game object causing an access violation

I tried doing this but it cause an access violation. ...
Balls's user avatar
  • 225
10 votes
1 answer
390 views

Efficient solution for multiplayer space partioning?

This question is a little tricky, but I will try to make it clear. Lets say I am building an online game (not MMO-scale), but that supports as many players as possible, in a authoritative server ...
Grimshaw's user avatar
  • 3,121
7 votes
4 answers
2k views

How can I improve this enemy database implementation?

I'm developing an RPG and I'm at the point where I need to start building an enemy database. There's a couple challenges associated with this and a few solutions I've been considering. Here's what I ...
user127817's user avatar
  • 1,863
3 votes
2 answers
311 views

Architecture for Versioned Save Data

We're working on an iOS game that we plan on having several content updates for. It's a story type game with lots of little flags when things have been accomplished and such. There is also an ...
Sam Washburn's user avatar