Questions tagged [databases]

Software designed to store massive amounts of data in a queryable form. The data is typically organized to model relevant aspects in a way that supports processes requiring this information.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

How do I handle a non-hierarchical, referential network of game data?

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 ...
Lake's user avatar
  • 191
1 vote
0 answers
151 views

Database design

I have a Ship class, into which components can be added which change the performance of the ship. The question is regarding modelling this. My first approach essentially was an EAV approach (a ...
jvc26's user avatar
  • 111
1 vote
0 answers
35 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 ...
pasawaya's user avatar
  • 261
0 votes
0 answers
73 views

What class should access my database?

I would like to code a turn-based RPG, and I decided to use a database to store all skills in the game. Now I have to decide as well which class can see this database, and how classes pass around ...
user avatar
0 votes
0 answers
104 views

How important is it to use an in-memory datastore for real-time networked game data?

I am building some online multi-player web-based games. Naturally, we are using WebSockets to connect to the game server. I need to store "real-time" data for these games, things like which ...
Ryan's user avatar
  • 887
0 votes
0 answers
571 views

Ways to persist entities and components in an ECS?

I am working on a small multiplayer game with rpg elements using java and "Artemis ODB". Most of the logic is already done but one important thing is missing. The persistence. So i am ...
genaray's user avatar
  • 517
0 votes
0 answers
144 views

Data structure for objects in a galaxy of star systems

I'm having some difficulty coming up with the appropriate data structure to use for a game. I'm aiming for a galaxy view with tens of thousands of visitable star systems. Structure Hierarchically, ...
Basic's user avatar
  • 1,267
0 votes
1 answer
1k views

How to build TileMaps dynamically from a database?

The game I'm building allows users to create their own tile maps essentially, so I want the server to respond with tilemap coordinates if / when a user enters their custom world.
James Nixon's user avatar
0 votes
0 answers
87 views

minecraft like game server database arhitecture

Let's say we have a 2d map 500*500 tiles in size. And each tile is editable by players and has many states. So it's 250k tiles. The game is multiplayer online game. What would be the best approach ...
lxknvlk's user avatar
  • 236
0 votes
0 answers
112 views

How to manage virtual currency transactions

I am developing a game that needs a transaction management system. Once player finish a task, he or she would gain some amount of credits (virtual money). When Player_A buys some virtual things from ...
shi95's user avatar
  • 101
0 votes
0 answers
52 views

Do I need a server if I only want to upload data to a DB?

I'm currently creating a game where people get some kind of reports for their game performance on a website. Let's say, you log-in, play the game, the system gathers your performance data and this is ...
roseicollis's user avatar
0 votes
0 answers
31 views

In which game use cases or contexts is it safe for a game client (end user application) to talk directly to a data store?

I have noticed countless messages that discuss the architectural design of nodes, networks, middleware, databases, and how the clients (as in a game client on a phone, browser, console, PC, etc) ...
Neeraj Murarka's user avatar
0 votes
0 answers
63 views

Large game statistics database management

I am making a management game in Java with a farming theme. I am rather beginner in software development and every steps requires lots of thoughts. I am at a point now that I want to log and keep ...
Ram's user avatar
  • 1
0 votes
0 answers
2k views

Save and retrieve image from database in unity

I have done a sample to insert and retrieve data from MySQL in unity.Now I need to insert and retrieve image from MYSQL in unity. The images are files selected by the user from their filesystem. Can ...
user1509674's user avatar
0 votes
1 answer
295 views

What is the easiest way to make an online high scores table?

I made an 2d Android game with using Libgdx library. This game like Flappy Bird. And every user have a highscore. I want to store this highscores respectively to an online database and return the rank ...
tayfur cangebes's user avatar
-1 votes
2 answers
106 views

How to make a proper cache on user computer?

Currently when launching the client of the game, it connects to the server and loads all the cachedata in a normal form (= folders, .txt files and .png files). However I don't like that the players ...
minisurma's user avatar
-1 votes
1 answer
1k views

Server Based High Scores

I'm currently using the following MySQL example to make a server side high score table: Unity Server Side high score The above example allows me to create a top 5 player high score table that sorts ...
N0xus's user avatar
  • 1,001
-1 votes
3 answers
3k views

How do I make a highscore database for Unity?

I have been looking around, but I haven't found the perfect answer, yet. I want to to send scores from Unity to a database, without a username, and display the high scores in the highscore menu. How ...
MrTopGamer's user avatar