Re: A85: Which is better
[Prev][Next][Index][Thread]
Re: A85: Which is better
On Thu, 14 May 1998 22:50:22 -0400, you wrote:
>
>For the pieces to my dungeon rooms, since I would like them to be
>versatile, they are small, either 2x2, 2x3, or 3x2 pixels. I could use
>sprites but I am thinking since sprites take up 3 bytes at least (I
>think), for such small sprites this might be a waste. Should I create
>sprites or should I draw the points/lines? I'm also still wondering if
>people would play team RPGs.
if they are 3X2, let's say, then this is 6 bits. you could store this
in a single byte and then fairly easily make a sprite routine to
display it. this would probably only work if the sprites are the same
size, or else the sprite routine would get too complicated. but i
think that i would probably use at least a 4X4 sprite, which also fits
nicely into 2 bytes.
>Would it be possible to create a sprite that is continually being changed
>each time you change rooms? Since each room is the same size square I
>could do this:
i don't know if this will help. but in Solytare, each 16X16 card
sprite is created dynamically. i have a function that you send it the
card number and it creates the card's sprite from sprites of only the
numbers and suits.
-mike pearce
Follow-Ups:
References: