UpdateMenu
method and add the following lines:If gameMode = gmMenu 'we will add code here later
If KeyHit(KEY_P) Then
gmPlay
, and also seed the random number generator with the current time (in milliseconds) from when this game is active.gameMode = gmPlay 'Set random number generator Seed = Millisecs() Endif Else 'Code that runs when gameMode = gmGameOver
If KeyHit(KEY_R) Then
RemoveCities() RemoveLaunchers()
gmPlay
.SetupGame() gameMode = gmPlay Endif Endif Return True End
3.139.83.151