![]() |
Lighting effect.
How do I make lighting effect for my level? Also backpals ect.
Somewhat like the level spark made. Dark with lights. |
// NPC made by Stefan Knorr
if (created) { setimg light2.png; dontblock; } //#CLIENTSIDE if (playerenters) { setcoloreffect 1,1,1,0.99; drawaslight; } Ok , where setcoloreffect is simply change those numbers to the light color you would like. Simply follow the R,G,B,A codes. This is just the simple light as in Spark's level you mentioned. For backpals.. //#CLIENTSIDE if (playerenters) setbackpal dusk1.png; You can change the dusk1.png to any others that are in the graal2001\levels\backpals folder. ;) |
Looks like someone beat me to it, but I would suggest that you use seteffects instead of backpals. They work better. :)
|
| All times are GMT +2. The time now is 03:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.