X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/63419029fbda7d3f2f3d5984c3d2c77f341dbd79..d7a43ae2d3d4702bd199fa5d8ca84c7c6e78ed36:/SuperPolarity/SuperPolarity.cs diff --git a/SuperPolarity/SuperPolarity.cs b/SuperPolarity/SuperPolarity.cs index f5ff48e..12303a0 100644 --- a/SuperPolarity/SuperPolarity.cs +++ b/SuperPolarity/SuperPolarity.cs @@ -39,11 +39,6 @@ namespace SuperPolarity graphics = new GraphicsDeviceManager(this); Components.Add(new GamerServicesComponent(this)); - graphics.PreferMultiSampling = true; - graphics.PreferredBackBufferWidth = 1280; - graphics.PreferredBackBufferHeight = 720; - //graphics.ToggleFullScreen(); - Content.RootDirectory = "Content"; ActorFactory.SetGame(this); ParticleEffectFactory.SetGame(this); @@ -63,6 +58,11 @@ namespace SuperPolarity { base.Initialize(); + graphics.PreferMultiSampling = true; + graphics.PreferredBackBufferHeight = 720; + graphics.PreferredBackBufferWidth = 1280; + //graphics.ToggleFullScreen(); + InputController.RegisterEventForKey("fullScreenToggle", Keys.F11); InputController.Bind("fullScreenToggle", HandleFullScreenToggle); @@ -85,7 +85,7 @@ namespace SuperPolarity { MediaPlayer.IsRepeating = true; - GameSong = Content.Load("Sound\\polaritytheme.wav"); + GameSong = Content.Load("Sound\\polaritytheme"); GameOverSound = Content.Load("Sound\\gameover"); // Create a new SpriteBatch, which can be used to draw textures.