public override void LoadContent() { Content = new ContentManager(ScreenManager.Game.Services, "Content"); SpriteBatch = ScreenManager.SpriteBatch; backgroundBatch = new SpriteBatch(ScreenManager.GraphicsDevice); bg = Content.Load<Texture2D>("Sprites/background"); mg = new MovingBackground(Content.Load<Texture2D>("Sprites/middleground"), ScreenManager.GraphicsDevice.Viewport, speed/2); fg = new MovingBackground(Content.Load<Texture2D>("Sprites/foreground"), ScreenManager.GraphicsDevice.Viewport, speed); plane = new Plane(Content.Load<Texture2D>("Sprites/plane"), Content.Load<SoundEffect>("Sound/plane")); ringFront = Content.Load<Texture2D>("Sprites/ringFront"); ringBack = Content.Load<Texture2D>("Sprites/ringBack"); ringFrontCleared = Content.Load<Texture2D>("Sprites/ringFrontCleared"); ringBackCleared = Content.Load<Texture2D>("Sprites/ringBackCleared"); ringSound = Content.Load<SoundEffect>("Sound/ringDoDoDo"); rings = new Rings(ringFront, ringBack, ringFrontCleared, ringBackCleared, numRings, speed, ScreenManager.GraphicsDevice.Viewport.Width, ScreenManager.GraphicsDevice.Viewport.Height, ringSound); gameFont = Content.Load<SpriteFont>("Font"); float scoreLength = (gameFont.MeasureString("999/999")).X; scorePosition = new Vector2(this.ScreenManager.ScaleXPosition((this.ScreenManager.GraphicsDevice.PresentationParameters.BackBufferWidth / 2.0f) - (scoreLength / 2.0f)), this.ScreenManager.ScaleYPosition(20.0f)); plane.playSound(); }