
... Global escape_key = 1, QUIT = False Graphics3D screen_width,screen_height, 16, 2 AmbientLight 200, 200, 200 Global cam1 = CreateCamera() Include "loadworld9.bb" ... MoveMouse screen_width/2, screen_height/2 fntArial=LoadFont("Arial", 36, True ) While QUIT = False ; Use QUIT flag instead If KeyHit( escape_key ) Then MENU() UpdateWorld Color 255,255,0 Flip End |
; ADD NEW MENU, AMMO & MOUSE PICK variables HERE Global up_key = 200, down_key=208, left_key=203, right_key=205 Function MENU() ; MENU Function MousePick() ; MOUSEPICK ... Function object_key_control( obj ) |
Type Sprite ; Load MENU Sprites spr_start = LoadSprite( "btn_start.bmp", 7, cam1 ) ; Stick to camera spr_quit = LoadSprite( "btn_quit.bmp", 7, cam1 ) spr_credits = LoadSprite( "btn_credits.bmp", 7, cam1 ) ; Load HUD Sprite |
| THE CHALLENGE!!! |
| Change the speeches, font, menu buttons, credits, and ammo count! |