public override void LoadContent() { player = new ScreenSplash(); //title = ScreenManager.Game.Content.Load<Texture2D>("title"); background = ScreenManager.Game.Content.Load<Texture2D>("bgr"); splashTexture = ScreenManager.Game.Content.Load<Texture2D>("backgroundScreen"); splashAnimation = new SplashAnimation(); splashAnimation.Initialize(splashTexture, Vector2.Zero, 284, 115, 7, 30, Color.White, 1f, true); player.Initialize(splashAnimation, splashPosition); }
public override void LoadContent() { playerr = new ScreenSplash(); splashPosition = new Vector2(240, 400); splashAnimation = new SplashAnimation(); options = iso.LoadOptions("options.xml"); background = ScreenManager.Game.Content.Load<Texture2D>("mainMenu1_demo"); gameMenuMusic = ScreenManager.Game.Content.Load<Song>("sound/mainMenuMusic"); if (options[2] == true) { playMusic(); isPlaying = true; checkSetting = false; } }