Exemple #1
0
 public override void LoadContent()
 {
     m_gameOverScreen.LoadContent();
     SkillScreen.LoadContent();
     m_blacksmithScreen.LoadContent();
     m_getItemScreen.LoadContent();
     m_enchantressScreen.LoadContent();
     DialogueScreen.LoadContent();
     m_pauseScreen.LoadContent();
     m_optionsScreen.LoadContent();
     m_profileCardScreen.LoadContent();
     m_creditsScreen.LoadContent();
     m_skillUnlockScreen.LoadContent();
     m_diaryEntryScreen.LoadContent();
     m_deathDefyScreen.LoadContent();
     m_textScreen.LoadContent();
     m_flashbackScreen.LoadContent();
     m_gameOverBossScreen.LoadContent();
     m_profileSelectScreen.LoadContent();
     m_blackTransitionIn              = new SpriteObj("Blank_Sprite");
     m_blackTransitionIn.Rotation     = 15f;
     m_blackTransitionIn.Scale        = new Vector2(1320 / m_blackTransitionIn.Width, 2000 / m_blackTransitionIn.Height);
     m_blackTransitionIn.TextureColor = Color.Black;
     m_blackTransitionIn.ForceDraw    = true;
     m_blackScreen                     = new SpriteObj("Blank_Sprite");
     m_blackScreen.Scale               = new Vector2(1320 / m_blackScreen.Width, 720 / m_blackScreen.Height);
     m_blackScreen.TextureColor        = Color.Black;
     m_blackScreen.ForceDraw           = true;
     m_blackTransitionOut              = new SpriteObj("Blank_Sprite");
     m_blackTransitionOut.Rotation     = 15f;
     m_blackTransitionOut.Scale        = new Vector2(1320 / m_blackTransitionOut.Width, 2000 / m_blackTransitionOut.Height);
     m_blackTransitionOut.TextureColor = Color.Black;
     m_blackTransitionOut.ForceDraw    = true;
     m_blackTransitionIn.X             = 0f;
     m_blackTransitionIn.X             = 1320 - m_blackTransitionIn.Bounds.Left;
     m_blackScreen.X                   = m_blackTransitionIn.X;
     m_blackTransitionOut.X            = m_blackScreen.X + m_blackScreen.Width;
     m_blackTransitionIn.Visible       = false;
     m_blackScreen.Visible             = false;
     m_blackTransitionOut.Visible      = false;
     LoadPlayer();
     base.LoadContent();
 }