Re: LZ: NASR
[Prev][Next][Index][Thread]
Jingyang Xu wrote:
> That's exact it! I'm lazy! :)
> But it's also not that simple. You see not all sprite end on exactly the
> last bit of the last byte. So when you reverse it, the result have to start
> with the last bit of the sprite, not the byte.
> For example:
> if the sprite's 10 pixels wide, then a horizontal line would be:
> %11111111, %11000000, this have to become %11111111, %11000000, not
> %00000011,%11111111. (Bad example I know, the result looks exactly like the
> original :).
Well, you could center the sprite, like this: %00011111,%11111000
Of course there are disadvantages that way to. I'll see if I got time
to write a routine. Later I will probably need it too.
<pre>
--
Real name: Jimmy Mårdell
Email....: mailto:mja@algonet.se
IRC-name.: Yarin
WWW......: http://www.algonet.se/~mja
</pre>
References: