d3d_set_projection_ortho( 0, 0, 640, 480, 0 ); draw_sprite(background4, 0, 0, 0); draw_set_alpha(.5*(fadein/30)) draw_set_color(c_white) draw_triangle(460-fadein,-1,800-fadein,-1,800-fadein,1999,false) draw_triangle(470-fadein,-1,810-fadein,-1,810-fadein,1999,false) draw_triangle(480-fadein,-1,820-fadein,-1,820-fadein,1999,false) if fadein < 30 { fadein += 1 } draw_set_alpha(fadein/30) draw_set_color(c_black) draw_set_font(fn_title) draw_text(15+fadein,45,string_hash_to_newline("The ghost who wants to be alone")) draw_set_font(fn_menu) draw_text(510-fadein,150,string_hash_to_newline("Game start")) draw_text(460+fadein,180,string_hash_to_newline("Options")) draw_text(530-fadein,210,string_hash_to_newline("Credits")) draw_text(480+fadein,240,string_hash_to_newline("Quit")) draw_set_alpha(1) draw_sprite(spr_menuselect,0,10*menuchoice + 440,30*menuchoice + 150) draw_set_color(c_white) draw_rectangle(-1,460,641,481,false) draw_set_color(c_black) draw_set_font(fn_helper) draw_text(10,465,string_hash_to_newline("Arrows: select menu item | Enter: Activate menu item"))