Click here to Skip to main content
15,899,679 members

Comments by Googooli86 (Top 5 by date)

Googooli86 24-Aug-15 14:56pm View    
Still only pauses the game..

if (Input.KeyPressed(Keys.P))
{
gameTimer.Stop();
string paused = "Pause\n Press Enter to continue";
lblGameOver.Text = paused;
lblGameOver.Visible = true;
}



if (Input.KeyPressed(Keys.Enter))
{
gameTimer.Start();
lblGameOver.Visible = false;
}
Googooli86 24-Aug-15 14:41pm View    
Did make as you said, but still only pausing and not resuming
Googooli86 24-Aug-15 14:39pm View    
Hej Henrik,

I am using Visual Studio 2015. I am a bit confused right now.. I can now understand that "else" cannot be reached, but not right sure to be honest how to figure this implementing out..
Googooli86 24-Aug-15 14:36pm View    
Debugger gives no error, it pauses the game, but does not continue..
Googooli86 24-Aug-15 14:23pm View    
Deleted
Hej Henrik,

I am using Visual Studio 2015. I am a bit confused right now.. I can now understand that "else" cannot be reached, but not right sure to be honest how to figure this implementing out..