update folders
This commit is contained in:
13
snipplets/code/GameMaker/draw_text.gml
Normal file
13
snipplets/code/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);
|
8
snipplets/code/GameMaker/fullscreen_toggle.gml
Normal file
8
snipplets/code/GameMaker/fullscreen_toggle.gml
Normal file
@ -0,0 +1,8 @@
|
||||
/// @description Fullscreen toggle
|
||||
|
||||
if window_get_fullscreen() {
|
||||
window_set_fullscreen(false);
|
||||
}
|
||||
else {
|
||||
window_set_fullscreen(true);
|
||||
}
|
3
snipplets/code/GameMaker/room_background.gml
Normal file
3
snipplets/code/GameMaker/room_background.gml
Normal file
@ -0,0 +1,3 @@
|
||||
var background = layer_background_get_id(layer_get_id("Background"));
|
||||
var my_color = make_colour_rgb(71, 45, 60);
|
||||
layer_background_blend(background, my_color);
|
Reference in New Issue
Block a user