gmc-jam-3/objects/obj_advance/Draw_0.gml

43 lines
1.1 KiB
Plaintext
Raw Normal View History

draw_set_font(font0);
draw_text(x,y,string_hash_to_newline("Game Start"));
draw_text(x+5,y+40,string_hash_to_newline("Difficulty:"));
switch global.difficulty
{
case 1:
draw_set_color(c_aqua);
draw_text(x+150,y+40,string_hash_to_newline("Easy"));
break;
case 2:
draw_set_color(c_green);
draw_text(x+150,y+40,string_hash_to_newline("Normal"));
break;
case 3:
draw_set_color(c_yellow);
draw_text(x+150,y+40,string_hash_to_newline("Hard"));
break;
case 4:
draw_set_color(c_red);
draw_text(x+150,y+40,string_hash_to_newline("LOL"));
break;
default:
global.difficulty = 2;
break;
}
draw_set_color(c_black);
draw_text(x+10,y+80,string_hash_to_newline("Help"));
draw_text(x+15,y+120,string_hash_to_newline("Exit"));
draw_sprite(spr_bullet_players,0,x-30+5*menupos,y+16+40*menupos);
if tickers > 0
{
draw_set_color(c_white)
draw_set_alpha(tickers/50)
draw_rectangle(-1,-1,1024,768,false);
tickers += 1
}
if tickers = 51
{
sound_stop_all();
room_goto_next();
}