I just realized you can only slice one dimensional arrays, so what I'm wondering is how can I size my array to the width/height of my loaded map. Is it possible to declare a global array and then define it's size later? Can you release an existing array and then redim it inside a function? My current method makes a huge array to accommodate any map, and this wastes a lot of memory. Any suggestions welcome.
Global Map:Tile[1000, 1000, 2] Function LoadMap() ' I now know map width + height. How can I make a global array of this size now End Function