I am casually developing an idea for a game. Or rather playing around with different concepts needed to build a basic game.
Right now I am looking at quad trees.
My game map will basically be a square grid. I was thinking of using a quadtree to represent the areas that has been explored on the map.
My question is: How do I store the information of the quadtree in a database?
Some time ago (a couple of years) someone told me about storing the data in a single string. For the life of me I cannot recall the exact method to store it or to change the data (adding new explored nodes etc).
If anyone can enlighten me or point me to an appropriate site, please.
ufisMember Since 22 Oct 2012
Offline Last Active Private