Jump to content
  • Advertisement
Sign in to follow this  
Game P

Design database of game

This topic is 3027 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

Hell every one


I want ask about design database of games

Are there articles explain that?


another Question and very important for me


Now , I make escape game like this http://www.freewebarcade.com/game/poco-escape-2/

Do I need database? I think I need player name and his score , Is it right?

some people told me I need to store images of characters and world and the movement of player and enemy ...etc in database , Is it true?


Thank you very much

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Game P
Hell every one


I want ask about design database of games

Are there articles explain that?

Most articles about using databases in games talk about designing a database for MMOs. That's because MMOs (or multiplayer browser-based games for instance, which are also kind of MMOs) are about the only game type that uses databases.

Games are not really different from other applications in that respect though. Most games don't use databases, but for those that do, an ER model would still be the first place to start.

Quote:
Original post by Game P
another Question and very important for me


Now , I make escape game like this http://www.freewebarcade.com/game/poco-escape-2/

Do I need database? I think I need player name and his score , Is it right?

You could use a simple database to keep track of highscores. You could also just use a file. Whatever is the simplest solution that gets the job done.

Quote:
Original post by Game P
some people told me I need to store images of characters and world and the movement of player and enemy ...etc in database , Is it true?


Thank you very much

For most games you don't. Certainly the game you linked does not store any of those things in a database (and probably does not use any database at all).

Note that, although it is possible to do so, it is generally preferable to not store raw data such as images inside the database. If you need to link to images, you can instead store the filename. Tables with blobs are usually slower and waste more space than tables without blobs (this depends on the specific RDBMS you are using but is true for both MySQL and Microsoft's SQL Server), so filesystem access will be faster.

[Edited by - lightbringer on August 27, 2010 9:14:34 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!