Colouring
BlitzMax Forums/BlitzMax Programming/Colouring
| ||
Anyone know if this is possible at all? is there an alpha/blend/other technique of adding colour? like... 100,0,0 ...will take the original image and add some red to it? (where as the setcolor command will only ever subtract colour [or keep it the same]) e.g. setcolor 255,255,255 ![]() setcolor 255,0,0 ![]() *addcolor 200,0,0 ![]() ta |
| ||
Might be something here that can help. Otherwise, setcolor, setalpha and drawrect the size of the screen? Graphics 640 , 480 image:TImage = LoadImage("max.png") DrawImage image , 0 , 0 SetColor 255 , 0 , 0 SetBlend alphablend SetAlpha 0.3 DrawRect 0 , 0 , 256 , 256 Flip WaitKey() |
| ||
ahh yeah.... seems so obvious now, thank you :) |
| ||
Was gunna say just draw a semi-transparent colored rectangle over the screen. |