ID:180471
![]() Jun 4 2001, 6:30 pm
|
|
well, im working on a dbz game, is there some way to make some icons transperent? i want an aura (bright glowing thing that surrounds ur body when powered up) is there any way this is possible?
|
On 6/5/01 8:26 am Sariat wrote:
Where would i put that code? That wasn't code, I was just trying to show an example of dithering in an icon. I suppose I could make a few demo icons and upload them, but is it worthy of a demo? Would that be helpful? |
On 6/5/01 10:08 am Sariat wrote:
On 6/5/01 9:59 am Foomer wrote: So would different icon sizes :o) But Icons don't seem to have a whole lot of possibilities right now. Maybe we should just wait until it becomes the next thing on the "list" to add. |
Try making the aura animated... in frame 1 it's there, in frame 2, it isn't, then lather, rinse, and repeat. Voila! Flickering transparency.
On 6/4/01 9:30 pm Sariat wrote: well, im working on a dbz game, is there some way to make some icons transperent? i want an aura (bright glowing thing that surrounds ur body when powered up) is there any way this is possible? |
well, im working on a dbz game, is there some way to make some icons transperent? i want an aura (bright glowing thing that surrounds ur body when powered up) is there any way this is possible? You might consider using the rgb() proc to alter the icon's color. Also, as someone else wrote, dithering can be a good solution for transparency if done well... check out the exclamation points in DMT for an example done well (in my humble opinion). |
Also, as someone else wrote, dithering can be a good solution for transparency if done well... check out the exclamation points in DMT for an example done well (in my humble opinion). Humble. IMHO, bah! ;-) |
On 6/5/01 10:08 am Sariat wrote:
On 6/5/01 9:59 am Foomer wrote: It's uploaded in the Tutorials section as Dithered Transparencies. If there is anything you don't understand, please let me know. I'll improve the tutorial in any way I can. |
On 6/5/01 5:13 pm Shadowdarke wrote:
On 6/5/01 10:08 am Sariat wrote: Hmm, I couldn't get it to work at all. |
On 6/5/01 6:59 pm Foomer wrote:
Hmm, I couldn't get it to work at all. I'm trying to figure out the nuances of using HTML pages in BYOND. As soon as I do, I'll fix this tutorial. If you really want to read the documentation, you can view the dither.html file that is in the directory you download the tutorial to. The rest of the code should work for you, showing you simple dithered overlays of varying degrees when you use the change_aura() verb. |
You could use dithered overlays for semi transparent effects. Dithering is a little hard to explain (or maybe I just lack the vocabulary. Graphics are not my forte.) so I'll try to show you examples:
For a 50% dither, make 50% of the pixels transparent:
You must make sure to space your pixels properly, or you just get striping. Experiment with it and you'll see what I mean.
The drawback to dithering is that you lose some detail in your icons.
There is also an option for adding color to your icons, but I have not been very satisfied with the results of my experiments with icon arithmetic.