PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Game data format

Hi,
I'm new to evc programming. I'm working on a little game, that will become the next doom. :D
I have some questions regarding the architectual issues:
What's the best format for storing game data? I understand that's very subjective. I'm looking for common practice solutions. The game will store lots of statistics. The performance(FPS) is not that big of an issue.
Is the idea of using a pocket access such a bad idea? I'd really appreciate if someone could explain the situation from the memory usage point of view in a case where the main app is located in the build in memory space and the data file is located on a flash card.
what's the general concept? Most games use their own files for data storage & you will find discussion about reading delimited items etc but I have not seen access in discussion.

Will you be reading & writing only at set times or throughout gameplay.
The only time I've used Access is for web page queries using asp scripts on win2k machines. It works great, but that's because I needed to run queries.

So, if you could do that on the pocketPc, what would be the benefit? Would you run a query to get data to use for rendering?

The only game specific reson I could see to use Access would be to keep stats for all the players/monsters in an RPG...

Ok, so I did't help any, did I?
Why do you want to use a database like access in your game?

Shure, if you have a lot of data and you need to sort it/ask complicated questions you may find it easier to construct an access database. But I would suggest storing it (cleverly) in a binary file (assigning an ID to each data item, as you do with a real database) and use a quicksort algoritm (you can copy-paste one from google or someplace) to sort the data if needed.

It'll be much faster, and it'll make your tiny PDA program much faster/ more efficient in the average case.

But it all depends on the application. What sort of game are we talking about here? What's the purpose.