I am creating a multiplayer RPG and I need to create a map for the game. I am a bit lost on how to do this.
What I have been thinking is to setup a table in my tao_game database on MySQL called "sectors" there I would create a row for sector_id (autoincrament), location_x, location_y, description (this is text that would show up describing the sector to the player), type (this would determine what type and whether a computer generated character would be produced), ownership (which "race" controls the sector). The player would have his sector_id stored in a session cooky.
What I want to do is preduce a HTML table from this information. Graphics would be called up and would be placed in their proper location in the table, the table would always be 8 x 8 and would center on the location of the player.
I have no idea how to make this happen. Any suggestion would really help.