ImageTile manipulation

BlitzMax Forums/BlitzMax Beginners Area/ImageTile manipulation

You'd probably want an array at each [x,y] location within the leveldata array.

ie each element in leveldata[x,y] points to a frames[num] array, holding the numbers of the sequence of animation frames.

You could make it a triple-dimension array, e.g.

leveldata[x,y,frame] .... like leveldata[50,50,10] - ie a map 50x50 tiles, with 10 frames of animation per tile.

Or, you could have a separate array defining the animation sequence for each tile number and just use that to decide which frame to draw.