A86: Re: Sprites and Tilemaps


[Prev][Next][Index][Thread]

A86: Re: Sprites and Tilemaps




Hmm, that's an interesting way of doing sprites that I've never thought
about.  If your sprites somehow were made of repeating tiles, you could make
a special kind of tilemap to render the sprites.  Rendering a masked sprite
for a tilemap requires ANDing the sprite with the screen/background, ORing
that with the inverted (complemented) mask and loading that to the screen.

> I am currently working on a ti86 game (probally not going to finish but
> hey it's helping me learn).  The game uses a couple characters made up of
> a series of several sprites (entire dimension of a character comes up to
> about 100 X 50 pixels give or take).  My questions is whether any of you
> think it would be benificial to store the sprites in some form of a
> tilemap and if so are there any tilemap routines that even handle masked
> sprites.




References: