Okay, so I want to build a world that is easily changeable based on a text "grid".
For example, let's say that:
00 = Water
01 = Sand
02 = Rock
03 = Dirt
04 = Grass
05 = Lava
etc.
My data could look something like:
Row 00 = 01, 01, 01, 01, 02, 02, 00, 00, 00, 01
Row 01 = 01, 01, 02, 02, 02, 02, 02, 00, 00, 00
Row 03 = 01, 02, 02, 02, 02, 02, 00, 00, 00, 00
That would build a world where if a coordinate was 01 it would display a 16x16 block (for example) that looks like sand -- and has the properties associated with sand (i.e. you can't plant some things in it, it's easier to dig, etc.).
And now that I think of it, how would you change the block (i.e. move from a dirt to a wheat block if it's planted... or from a grass to a burnt grass block if it has been on fire).
I just feel like a system like this would make map-making/level-editing a quicker, easier process -- and perhaps even doable by those without programming experience. In fact... maybe even making the grid an external text file:
01, 01, 01, 01, 02, 02, 00, 00, 00, 01
01, 01, 02, 02, 02, 02, 02, 00, 00, 00
01, 02, 02, 02, 02, 02, 00, 00, 00, 00
Any thoughts or ideas? Is this already done somewhere?
Thanks!
Robert Griffith

