Tutorial, how to make pause feature in your game maker game.
The code is here; due to someone can't see the text well.
Or if you are lazy ;D
scr_Pause code:
//There is Pause Code.
{
draw_set_font(font_Pause);
draw_set_color(c_blue);
draw_set_halign(fa_center);
draw_text(room_width/2,100, 'Game Paused. Press any key to continue');
screen_refresh();
keyboard_wait();
io_clear();
}
Happy Watching! :)
EDIT!!!:
{
draw_set_font(ADD FONT HERE!);
draw_set_color(c_black);
draw_set_halign(fa_center);
draw_text(room_width/2,100,'Game Paused. Press P to continue.');
screen_refresh();
{
if keyboard_check_pressed(ord("P"))
{
io_clear();
}
}
}
For better pause event!!!