Fading Colors
#2

Reading your post I think you want a smooth, gradual transition from color1 to color2. Well, I tried to make transition from white to red but in the end I get an undescribeable constant mix of all colors, don't try this at home:
pawn Код:
#define COLOR_LIGHTPINK 0xFFB6C1FF
#define COLOR_HOTPINK 0xFF69B4FF
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_TOMATO 0xFF6347AA
#define COLOR_RED 0xFF0000FF

public OnPlayerDeath(playerid, killerid, reason)
{
    FadePlayerScreen(playerid, 0xFFFFFFCC, 6, 192);
    FadePlayerScreen(playerid, 0xFFB6C1FF, 6, 192);
    FadePlayerScreen(playerid, 0xFF69B4FF, 6, 192);
    FadePlayerScreen(playerid, 0xFF7F50AA, 6, 192);
    FadePlayerScreen(playerid, 0xFF0000FF, 6, 192);
}
Reply


Messages In This Thread
Fading Colors - by Glad2BeHere - 23.03.2013, 00:26
Re: Fading Colors - by HurtLocker - 23.03.2013, 00:35
Re: Fading Colors - by faff - 23.03.2013, 01:39
Re: Fading Colors - by Babul - 23.03.2013, 01:40
Re: Fading Colors - by Glad2BeHere - 23.03.2013, 02:02
Re: Fading Colors - by Babul - 23.03.2013, 16:22

Forum Jump:


Users browsing this thread: 3 Guest(s)