I don't know how to call this effect, but its simple - you set blending at a some value like about 160 then do fillrect(0,0,MAXX, MAXY). Depending on color it may become brighter, darker, or something.
I happen to like this effect and using it, but when it's on, the game's FPS is suddenly dropped by a factor of 2 to 10-15 or lower.
So I thought - maybe there's a way to improve its speed? Like locking the buffer and doing this manually. Anyone did this?
I happen to like this effect and using it, but when it's on, the game's FPS is suddenly dropped by a factor of 2 to 10-15 or lower.
So I thought - maybe there's a way to improve its speed? Like locking the buffer and doing this manually. Anyone did this?