Standard windows fonts look generally bad and pixelated?
Solution: Use this script instead of draw_text(...)!
I wrote this for a game and figured other people may find it useful.
So here it is.
Enjoy.
/*
Created by Jobo
@ Game Maker Community (www.gmc.yoyogames.com)
draw_string(x, y, smoothness, string, color);
Usage: draw a smooth string
*/
var textX, textY, Smoothness, String, Alpha, Color;
textX = argument0;
textY = argument1;
Smoothness = argument2; // 1 is a good default
String = argument3;
Alpha = draw_get_alpha();
Color = draw_get_color();
draw_set_color(argument4);
for(i = 0; i < Smoothness; i += 1) {
draw_set_alpha(max(0.1 ,i / Smoothness)); // Avoid 0 / Smoothness
draw_text(textX - (Smoothness - i), textY - (Smoothness - i), String); // Draw string offset in upper-left corner
draw_text(textX + (Smoothness - i), textY + (Smoothness - i), String); // Draw string offset in lower-right corner
draw_text(textX - (Smoothness - i), textY + (Smoothness - i), String); // Draw string offset in lower-left corner
draw_text(textX + (Smoothness - i), textY - (Smoothness - i), String); // Draw string offset in upper-right corner
}
// Reset global alpha value
draw_set_alpha(Alpha);
// Draw original string
draw_text(textX, textY, String);
// Reset global draw color
draw_set_color(Color);











