draw text
This commit is contained in:
parent
6ba3106240
commit
d872a620c6
13
~/GameMaker/draw_text.gml
Normal file
13
~/GameMaker/draw_text.gml
Normal file
@ -0,0 +1,13 @@
|
||||
/// @description Draw text
|
||||
|
||||
draw_set_font(Monogram_12);
|
||||
draw_set_halign(fa_right);
|
||||
|
||||
var text = "Version: " + global.version + " | by emilecok";
|
||||
var text_height = string_height(text);
|
||||
|
||||
draw_set_color(c_black);
|
||||
draw_text(room_width - 10 + 1, room_height - text_height + 1, text);
|
||||
|
||||
draw_set_color(c_white);
|
||||
draw_text(room_width - 10, room_height - text_height, text);
|
Loading…
Reference in New Issue
Block a user