Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graphic Design (https://forums.graalonline.com/forums/forumdisplay.php?f=9)
-   -   Lights (https://forums.graalonline.com/forums/showthread.php?t=2072)

MoonAngel 05-01-2001 10: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 11:36 AM

seteffect red,green,blue;
That's how it's supposed to go, I think

MoonAngel 05-02-2001 06: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 10: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 04: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 05:27 AM

Quote:

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 12: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 11:42 AM

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.


All times are GMT +2. The time now is 02:00 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.