d3d_set_projection_ortho(0,0,800,600,0) draw_sprite_ext(bg_titlescreen, 0, 0, 0, 1, 1, 0, c_white, 1); draw_set_alpha(.5*(fadein/30)) draw_set_color(c_white) draw_triangle(560-fadein,-1,900-fadein,-1,900-fadein,1999,false) draw_triangle(570-fadein,-1,910-fadein,-1,910-fadein,1999,false) draw_triangle(580-fadein,-1,920-fadein,-1,920-fadein,1999,false) if fadein < 30 { fadein += 1 } draw_set_alpha(fadein/30) draw_set_color(c_black) draw_set_font(fn_main) draw_text(610-fadein,150,string_hash_to_newline("Game start")) draw_text(560+fadein,180,string_hash_to_newline("How to play")) draw_text(630-fadein,210,string_hash_to_newline("Credits")) draw_text(580+fadein,240,string_hash_to_newline("Quit")) draw_set_alpha(1) draw_sprite(spr_menuselect,0,10*menuchoice + 540,30*menuchoice + 165) draw_set_color(c_white) draw_rectangle(-1,580,801,601,false) draw_set_color(c_black) draw_set_font(fn_smaller) draw_text(10,465*(800/640),string_hash_to_newline("Arrows: select menu item | Z: activate menu item"))