Do note however, that this method is extremely slow.. It would be faster to use a single dim array for sure. But the best way would be to create a bank in memory, dump the single dim array in there. Then simply seek to the part of the bank u want and extract it to a new memory bank which you're using externally. As I said, I'm tired and a newbie so I'm not gonna look it up now :) but check out the BANK commands. Especially CreateBank (size), CopyBank src_bank,src_offset,dest_bank,dest_offset,count, and of course, the peeking and poking to get the data in and out. :)
Copying 10000 variables at once as used in my example will take a long time (too long for gameplay!). By using CopyBank u can figure out where u are, and just copy that portion of the bank to a new bank which you're using to display your map data.
+BlackD
Copying 10000 variables at once as used in my example will take a long time (too long for gameplay!). By using CopyBank u can figure out where u are, and just copy that portion of the bank to a new bank which you're using to display your map data.
+BlackD