[A83] Re: tilemap: the theory?
[Prev][Next][Index][Thread]
[A83] Re: tilemap: the theory?
The basic idea behind a tile map, is to have multipule tiles, set in a
prearranged pattern. Some people have made it so that each tile is either
passable or not, and some have it where you can define which spots on the map
is passable or not(a 2nd map, besides the tile map). I prefear the 2nd
option when memory isn't a problem(on the ti83 it is -_-). For the first
option, you would divide the tile nums up, like 1-15 are passable,16-60 are
not passable, 61-255 are options(yeah you could do that ^_^). You would
probably use different values, but thats just an example.
When you find out which tile you need(y*width+x) you would take the tile
offset, and add 8*(the tile num) to it.
Hope i didn't confuse you too much.