DirectDraw Help
when i do : ddbltfx.dwFillColor
how do i set what the colour is? i can only seem to get it to use colour codes, which i dont want to do. is there any way that i can use RGB values? i have been told not to use the RGB macro.
Yeah...
the format of ddbltfx.FillColor is
0xAARRGGBB
where A = Alpha, R = Red, G = Green, B = Blue
so you could do it manually (if you often draw you know the colors by heart) or you use a MACRO (THAT IS FINE!! Thurst me)
so bright colors are
0x00ffffff white
0x00ff0000 red
0x0000ff00 green
0x000000ff blue
0x00ffff00 yellow
0x0000ffff cyan blue
0x00ff00ff magenta purple
greetings Dark
the format of ddbltfx.FillColor is
0xAARRGGBB
where A = Alpha, R = Red, G = Green, B = Blue
so you could do it manually (if you often draw you know the colors by heart) or you use a MACRO (THAT IS FINE!! Thurst me)
so bright colors are
0x00ffffff white
0x00ff0000 red
0x0000ff00 green
0x000000ff blue
0x00ffff00 yellow
0x0000ffff cyan blue
0x00ff00ff magenta purple
greetings Dark
Yeah...
the format of ddbltfx.dwFillColor is
0xAARRGGBB
where A = Alpha, R = Red, G = Green, B = Blue
so you could do it manually (if you often draw you know the colors by heart) or you use a MACRO (THAT IS FINE!! Thurst me)
so bright colors are
0x00ffffff white
0x00ff0000 red
0x0000ff00 green
0x000000ff blue
0x00ffff00 yellow
0x0000ffff cyan blue
0x00ff00ff magenta purple
greetings Dark
the format of ddbltfx.dwFillColor is
0xAARRGGBB
where A = Alpha, R = Red, G = Green, B = Blue
so you could do it manually (if you often draw you know the colors by heart) or you use a MACRO (THAT IS FINE!! Thurst me)
so bright colors are
0x00ffffff white
0x00ff0000 red
0x0000ff00 green
0x000000ff blue
0x00ffff00 yellow
0x0000ffff cyan blue
0x00ff00ff magenta purple
greetings Dark
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement