Storing tile info

BlitzMax Forums/BlitzMax Beginners Area/Storing tile info

perhaps making two (or more) arrays.. on to hold the image pointer in an x,y format, and one to hold info on collision at the same x,y coord..?!?
something like;
image_to_draw = MAP_ARRAY(x,y)  ; returns image number
collision     = COL_ARRAY(x,y)  ; returns 1 if collidable, 0 if passable

store and load everything in a normal textfile..
perhaps the first two numbers to redim the array size, then you can loop through the map and collision (++ if other) to set stuff up..

.. that's how I would do it anyways... but it's only 1 way of doing it..