Quote:
|
Originally Posted by humordwarf
binary:
0000 = 0x00 = 0 = all arrows red
0001 = 0x01 = 1 = west arrow green all other red
.......
1111 = 0x0F = 15 = all arrows green
and
11111111 = 0xFF = 255 = cell removed
|
Thats some crazy shit... brings me back to my grade 9 VB project... I made an Inu Yasha RPG with maps using strings and in each string it would have a letter either representing grass, water, or a tree.
It looked something like this;
Map1 = "WWWWWWWWWWWWWWWWWWW"
Map2 = "WWTTTTTTTTTTTTTTTTTTTTTTTTTTTTWW"
Map3 = "WWTGGGGGGGGGGGGGGGGGGGGTWW"
Map4 = "WWTGGGGGGGGGGGGGGGGGGGGTWW"
Map5 = "WWTGGGGGGGGGGGGGGGGGGGGTWW"
Map6 = "WWTGGGGGGGGGGGGGGGGGTGGTWW"
Map7 = "WWTGGGGGGGGGGGGGGGGGGGGTWW"
Map8 = "WWTTTTTTTTTTTTTTTTTTTTTTTTTTTTWW"
Map9 = "WWWWWWWWWWWWWWWWWWW"
The program would then draw out each string with the letters corresponding to an 8x8 bmp for it. (W = water bmp, T = tree bmp, G = grass bmp)
At the time it seemed pretty damn simple, but I guess even Lineage 2 uses this kind of system for server side maps.