Sign in to follow this  

Games and Databases

This topic is 2631 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone point me to an article where I can read more about the interactions between games and databases. I find it really fascinating how World of Warcraft has such massive item databases and yet it all seems to run so seemlessly.

Share this post


Link to post
Share on other sites
A beginner's guide to what, exactly? 'Games and databases' is a big topic.

The database is used to store persistent data, typically relating to players and items that change their properties over time. You don't typically need to read from the database during normal play as the values are cached in memory. And for the times when you do need to read, or the times you need to write, you can do it asynchronously.

Share this post


Link to post
Share on other sites
Ok, lets start with say architecture, how would one implement a game into a game architecture? How does your game interact on a more technical level? I want to learn more about the topic but I have no idea where to start - hence my post asking for advice.

Share this post


Link to post
Share on other sites
"how would one implement a game into a game architecture?"

Did you mean implement a database into a game architecture?

You decide what data you want to store in the database, then you write routines for reading that data and for writing it. Typically this involves using SQL and sending it to the database via the API provided by that database.

"How does your game interact on a more technical level?"

That is the sort of open-ended question that entire books get written on. You'll have to be more specific about what you want to know.

Share this post


Link to post
Share on other sites
Kylotan, you're quite right I did mean implement databases into game architecture.

It's very difficult for me to ask a question about a subject I know nothing about, hence why I have asked to be directed to an already existing article about the topic.

Share this post


Link to post
Share on other sites
Unfortunately there is no one simple approach and it depends entirely on what exactly you want to achieve. Furthermore, most developers are not sharing many details about their back-end data format or how they use it.

Share this post


Link to post
Share on other sites

This topic is 2631 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this