Fading Colors
#6

oops, i forgot to mention that you need to add the alpha values ><
long story short: add a 00 to each color value, like 0xff3333 becomes 0xff333300.
the color array from above again:
pawn Код:
new RedWhiteBlue[]={0xff000000,0xff333300,0xff666600,0xff999900,0xffcccc00,0xffffff00,0xffffff00,0xccccff00,0x9999ff00,0x6666ff00,0x3333ff00,0x0000ff00};
the format is RRGGBBAA, the added 2 digits "00" left-shift the value, so the color channels are ok now ^^
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: 1 Guest(s)