- Home /
A by Script growing Database with two types
I've got a simple Question which I couldn't figure out yet. Maybe someone can help.
In my game the Player discovers different provinces. By examining or entering these provinces they changed step by step. For example from the status "unknown [1]" to "explorable [2]".
My map is generated automatically and is always new and different. What I want is the following.
Every time the player discovers a new province (that is generated) I want the computer to save two informations: 1. The name of the territory and 2. the status (1,2,3,4).
There will be around 4000 provinces and I want to avoid preparing that manually. I want to safe time and scipt lines by letting the computer generate this list "on the fly".
I don't need the full answer in detail. What really would help me is someone with more experience (than me) give me some advise, like: try this method or database type etc.
Thanks in advance.
Please excuse my bad englisch. Not a native speaker.
Why you want to store the values in database? Just make a method that can generate random names,
make an object of the province and fill a list with undiscovered provinces & discovered provinces and then you can add or remove them from the lists whenever you feel like. I don't see a need to save them to a database?
Your answer
Follow this Question
Related Questions
how to store and retrieve data from sqlite in android and iPhone? 7 Answers
Problem with SQLite unity Database 0 Answers
get_version can only be called from the main thread. 0 Answers
How to get data from database? 1 Answer
Sava movement in server 0 Answers