Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualufis

Posted 23 October 2012 - 05:44 AM

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.

#1ufis

Posted 22 October 2012 - 09:30 AM

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.

PARTNERS