PDA

View Full Version : Lights


MoonAngel
05-01-2001, 11:57 AM
how does the light2.png work? i have tried to use drawaslight on other images but its not working = | anyone could tell me how it works?

freddyfox
05-01-2001, 12:36 PM
seteffect red,green,blue;
That's how it's supposed to go, I think

MoonAngel
05-02-2001, 07:00 AM
no, i mean.. for the png.. with other gifs, using drawaslight doesnt work, with the light2.png it does.. so how do i get to make other images be able to use drawaslight?

Kaimetsu
05-03-2001, 11:26 PM
Do you mean that drawaslight itself isn't working and images are being affected by seteffect, or that setcoloreffect isn't working?

Lomgren
05-05-2001, 05:54 AM
I didn't have any problems with other images not being drawaslight, in fact I made a test level, and had seteffect 0,0,0,.9 to make it dark, and I used the animoon gif and set it to drawaslight. It worked just fine, and looked great.

omni-m00gle
05-05-2001, 06:27 AM
Originally posted by Lomgren
I didn't have any problems with other images not being drawaslight, in fact I made a test level, and had seteffect 0,0,0,.9 to make it dark, and I used the animoon gif and set it to drawaslight. It worked just fine, and looked great.

MoonAngel
05-05-2001, 01:04 PM
"sigh" i am trying to tell you about the image file itself.. nothing else.. try making a tree.gif drawaslight with setcoloreffect 0,1,0,0.99

i want to know why it doesnt work when i try it on gifs and that it works on light2.png

Tyhm
05-09-2001, 12:42 PM
load light2.png. See how it does that gradient thing? That's why.
Lighter = more opaque, darker = more transparent. So trying to make a tree alphablend is futile.