by mmtbb » Nov 13, 2004 @ 12:17am
What we need is a tile matrix function where an image can hold the appropriate tile frames and they can be quickly rendered by passing a matrix or array to a TileMap() (or whatever you want to call it) function
Ex:
[0,0,0,0,1,1,1,1,1,0,0,0
0,0,0,0,1,0,0,0,1,0,0,0
0,0,0,0,1,0,0,0,1,0,0,0
0,0,0,0,1,1,1,1,1,0,0,0]
you get the idea.