Hola comunidad, necesito hacer un contorno a unos números con algo de esto (Border, Outline, Shader).
He buscado pero no he dado con lo que busco, sólo quiero hacerle un borde a un número para que contraste mejor con el fondo, sé que se puede hacer pero no sé como, agradezco toda ayuda posible, gracias!
Bueno lo solucioné con este script
/// @description draw_text_outline(x,y,str,outwidth,outcol,outfidelity)
/// @param x
/// @param y
/// @param str
/// @param outwidth
/// @param outcol
/// @param outfidelity
//Created by Andrew McCluskey http://nalgames.com/
//x,y: Coordinates to draw
//str: String to draw
//outwidth: Width of outline in pixels
//outcol: Colour of outline (main text draws with regular set colour)
//outfidelity: Fidelity of outline (recommended: 4 for small, 8 for medium, 16 for larger. Watch your performance!)
var dto_dcol=draw_get_color();
draw_set_color(argument4);
for(var dto_i=45; dto_i<405; dto_i+=360/argument5)
{
draw_text(argument0+lengthdir_x(argument3,dto_i),argument1+lengthdir_y(argument3,dto_i),string_hash_to_newline(argument2));
}
draw_set_color(dto_dcol);
draw_text(argument0,argument1,string_hash_to_newline(argument2));
luego en el evento Draw usan la función:
draw_text_outline(x,y,str,outwidth,outcol,outfidelity)
donde cada parámetro hace lo que dice el script, fácil de usar, cualquier cosa puedo ayudarles.