this bit of code:
You can't do this:
By the way, I would rename your variable "key" to something more intuitive, such as "difficultysetting" or the like.
You should change this section of code:
; Go to the main menu screen Cls DrawImage menuimage,0,0 resume=WaitKey() ; Once player chooses to start, bring up the different difficulty levels for the game If resume = KeyHit(3) End EndIf ; If the start game was hit, continue, if the quit game was hit, quitshould really be a loop. It doesn't handle a situation such as the player pressing an incorrect key.
You can't do this:
If key = KeyHit(4)because it will only be true the FIRST time you use it. After that, (unless the player pressed the key again), it will return false. You have to use it like so:
If key = 4
By the way, I would rename your variable "key" to something more intuitive, such as "difficultysetting" or the like.
You should change this section of code:
Cls DrawImage difficultyimage,0,0 key=WaitKey()to a loop and read something like this:
Repeat Cls DrawImage difficultyimage,0,0 key=WaitKey() Select key Case 49 difficultysetting = 1 Case 50 difficultysetting = 2 ;etc... End Select Until difficultysetting > 0