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);
{
base.Initialize();
+ graphics.PreferMultiSampling = true;
+ graphics.PreferredBackBufferHeight = 720;
+ graphics.PreferredBackBufferWidth = 1280;
+ //graphics.ToggleFullScreen();
+
InputController.RegisterEventForKey("fullScreenToggle", Keys.F11);
InputController.Bind("fullScreenToggle", HandleFullScreenToggle);
{
MediaPlayer.IsRepeating = true;
- GameSong = Content.Load<Song>("Sound\\polaritytheme.wav");
+ GameSong = Content.Load<Song>("Sound\\polaritytheme");
GameOverSound = Content.Load<SoundEffect>("Sound\\gameover");
// Create a new SpriteBatch, which can be used to draw textures.