Re: A89: Help! fullscreen pics
[Prev][Next][Index][Thread]
Re: A89: Help! fullscreen pics
1st: It is _very_ inefficent to use one whole picture for each screen.
no games do like that. what you do is that you draw a lot of small sprites, and
then you combine theese to your image.
2nd: yes, a fullscreen 4level grayscale sprite _with mask_ would take up 4k. if
the sprite has no transparent sections a mask is not needed, and the fullscreen
image need only to be 4k.
3rd: yes, you can compress it (ofcourse). there is even a library called hufflib
that compress useing the huffman compression algoritm. It is a quite simple
routine, based on the probability of different byte/word/nibbles (depending on
implementation) , and the result should be quite varying.. (I havn't gotten into
the implementation of it in hufflib though..)
//Olle
Mike wrote:
>
> Hey
> I thought i hear that a fullscreen sprite takes
> up 6 kb! is that true? is there any way that i
> can compress those images? I need to know because
> i am doing an rpg where a picture of the screen
> is in the form of a sprite... every screen has a
> sprite, and that is too big! I am looking for
> some experianced programmers, if you wana help,
> check out
> http://members.tripod.com/ti_freespace/ti-89.html
> and read about my game, if you want, you can sign
> up. I really could use some help!
> _____________________________________________________________
> Do You Yahoo!?
> Free instant messaging and more at http://messenger.yahoo.com
References: