Subj : Transparency when using frames/sprites
To   : MCMLXXIX
From : Kirkman
Date : Tue Jun 17 2014 01:59 pm

 Re: Transparency when using frames/sprites
 By: MCMLXXIX to Kirkman on Tue Jun 17 2014 09:05 am

>  > I guess what I'm still wondering about is how this actually works. So if
>  > a small rectangular frame filled with an ANSI or BIN file, nothing will
>  > actually be transparent, because none of the characters will be undefined
>  > right? I'm thinking the only way I could make use of the transparency is
>  > render the characters individually in code, leaving some of them empty.
>
> that is correct, but you could apply a filter for a specific color (or speci
> set of attributes) to your graphic after you load it into a frame by iterati
> the contents as a 2D array and comparing the .attr property to whatever colo
> you'd like to filter, and just set it to undefined if it matches.

That's a nice idea. I'll give that a shot.

--Josh



////--------------------------------------------------
BiC -=- http://breakintochat.com -=- bbs wiki and blog


---
� Synchronet