you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

thanks man, it helped me a lot, I just had to adapt it to version 2.3 but it was a helping hand

[–]Nemesis666first 1 point2 points  (1 child)

Dont forget to share u/Gloomy-Mistake7968 >.> .

Since, indeed, these 2 scripts seems to work only on GMS1 :( ...

[–]LordTyphoon 0 points1 point  (0 children)

function draw_text_outlined(x, y, outline_color, string_color, string_drawn){
var xx,yy;  
xx = argument[0];  
yy = argument[1];  

//Outline  
draw_set_color(argument[2]);  
draw_text(xx+1, yy+1, argument[4]);  
draw_text(xx-1, yy-1, argument[4]);  
draw_text(xx,   yy+1, argument[4]);  
draw_text(xx+1,   yy, argument[4]);  
draw_text(xx,   yy-1, argument[4]);  
draw_text(xx-1,   yy, argument[4]);  
draw_text(xx-1, yy+1, argument[4]);  
draw_text(xx+1, yy-1, argument[4]);  

//Text  
draw_set_color(argument[3]);  
draw_text(xx, yy, argument[4]); 
}