Hey fellas! I need a push in the right direction if someone would be so kind.
I'm working on a multiplayer game (using Lacewing) that takes place on a euclidean grid of 16x16 squares. 'Ground level' is a two-dimensional plane, with each square being stackable up to three high with some material. Think Minecraft with a three-block height limit.
I want the playing field to be 512 x 512 x 3. This gives me 786,432 'blocks' in space I potentially need to store, and I need these blocks to be manipulable by any player in the server (and of course update between clients and the server.) Best case scenario, I have a dedicated server application that stores all the contents of the world and relays changes and such to the clients when appropriate.
In addition to the blocks in space, I want to keep track of items that exist in the world (dropped guns, zombies wandering around, etc.)
I can think of many different ways to go about doing this but I'm asking if there is a 'standard' theory behind this. I have the rudimentary multiplayer game done (with players who can run around and shoot at each other but with a fixed playing field) and a Lacewing server application that hosts the game.
Where do I go from here? Do I have the server read and write to and from an array file? Do I make a text document with rows and columns that correspond to the three layers of the grid, with ascii characters representing the contents?
Here is a mock-up of the kind of world I'm looking at.
BLATANTLY, BLATANTLY STOLEN MINECRAFT GRAPHICS as placeholders for future reference. I just slapped the MC stuff in there because I want to make sure I can pull off this game before I pour artistic effort into it.
Thanks for the halp! Any advice greatly appreciated.