diff --git a/Jumpy.Shared/JumpyGame.cs b/Jumpy.Shared/JumpyGame.cs index 65e5d20..f9ae188 100644 --- a/Jumpy.Shared/JumpyGame.cs +++ b/Jumpy.Shared/JumpyGame.cs @@ -15,6 +15,7 @@ namespace Jumpy { public JumpyGame() { graphics = new GraphicsDeviceManager(this); + IsMouseVisible = true; Content.RootDirectory = "Content"; } @@ -22,6 +23,7 @@ namespace Jumpy { protected override void Initialize() { window = (IWindow) Services.GetService(typeof(IWindow)); window.SetFullScreen(fullScreen, this, graphics); + base.Initialize(); } @@ -42,8 +44,8 @@ namespace Jumpy { List keysDown = keyboardInput.NewKeysDown(); if (keysDown.Contains(Keys.F12)) { - window.SetFullScreen(!fullScreen, this, graphics); fullScreen = !fullScreen; + window.SetFullScreen(fullScreen, this, graphics); } if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed ||