C
CedSharp
Guest
I'll keep it simple.
If I draw a black rectangle and try to draw some text on it,
if the font isn't the default font, then it draws with a weird blending problem.
Here is an example:
Clearly, The text drawn is the same color ( the color isn't changed )
Yet, the one in the textbox isn't white, it's either grey, or white with opacity lower than 1.
( I tried setting alpha to 1, doesn't change anything )
I also tried reseting everyting just before drawing the text:
I've also tried removing anti-aliasing and high quality from the font.
Other than making the font pixelated, didn't change anything.
I have to draw the text 3 times to get white.
If anyone had this issue, please I'd like to know how to fix it.
-- EDIT --
I'm on GameMaker Studio 1.4, not GMS 2.0.
I tried it on GameMaker Studio 2.0 and the issue doesn't occure.
So this seems like a bug with the rendering of GM:S 1.4...
-- EDIT 2 --
When drawing above a black sprite, everything is fine, it draws white.
Even when I draw part of the text outside the dialog box, the text is white
outside, but the bug occurse on the part that is above the dialog
If I draw a black rectangle and try to draw some text on it,
if the font isn't the default font, then it draws with a weird blending problem.
Here is an example:
Clearly, The text drawn is the same color ( the color isn't changed )
Yet, the one in the textbox isn't white, it's either grey, or white with opacity lower than 1.
( I tried setting alpha to 1, doesn't change anything )
I also tried reseting everyting just before drawing the text:
Code:
draw_set_font( font0 );
draw_set_color( $FFFFFF );
draw_set_alpha( 1 );
Other than making the font pixelated, didn't change anything.
I have to draw the text 3 times to get white.
If anyone had this issue, please I'd like to know how to fix it.
-- EDIT --
I'm on GameMaker Studio 1.4, not GMS 2.0.
I tried it on GameMaker Studio 2.0 and the issue doesn't occure.
So this seems like a bug with the rendering of GM:S 1.4...
-- EDIT 2 --
When drawing above a black sprite, everything is fine, it draws white.
Even when I draw part of the text outside the dialog box, the text is white
outside, but the bug occurse on the part that is above the dialog
Last edited: