Re: A86: Question on tile maps
[Prev][Next][Index][Thread]
Re: A86: Question on tile maps
You know ACZ, this would be a great time for a tutorial.
Dan
In a message dated 1/28/99 10:38:57 AM Mountain Standard Time,
akdjr@SoftHome.net writes:
> how would i get the decimal version of what is in the map? right now, i
> have that same map, except the numbers are in decimal like this:
> Map1:
> .db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
> .db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
> .db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
> .db 1,0,0,0,0,0,2,2,2,0,0,0,0,0,0,1
> .db 1,0,0,0,0,0,2,2,2,0,0,0,0,0,0,1
> .db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
> .db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
> .db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
> how would i read what decimal number is in a position of the map? i think
i
> have a routine that works, but i am not sure. i have attached it so that
if
> anyone can help me, they can. unfortunately, it might be a bit hard to
> read. the only comments are the ones that tell you the inputs and outputs
of
> the two routines that i made. i would appreciate any help.
>
> thanks
> akshay