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(); }
public void InitializeScreens() { m_gameOverScreen = new GameOverScreen(); SkillScreen = new SkillScreen(); m_blacksmithScreen = new BlacksmithScreen(); m_getItemScreen = new GetItemScreen(); m_enchantressScreen = new EnchantressScreen(); DialogueScreen = new DialogueScreen(); m_pauseScreen = new PauseScreen(); m_optionsScreen = new OptionsScreen(); m_profileCardScreen = new ProfileCardScreen(); m_creditsScreen = new CreditsScreen(); m_skillUnlockScreen = new SkillUnlockScreen(); m_diaryEntryScreen = new DiaryEntryScreen(); m_deathDefyScreen = new DeathDefiedScreen(); m_textScreen = new TextScreen(); m_flashbackScreen = new DiaryFlashbackScreen(); m_gameOverBossScreen = new GameOverBossScreen(); m_profileSelectScreen = new ProfileSelectScreen(); }
public void InitializeScreens() { this.m_gameOverScreen = new GameOverScreen(); this.m_traitScreen = new SkillScreen(); this.m_blacksmithScreen = new BlacksmithScreen(); this.m_getItemScreen = new GetItemScreen(); this.m_enchantressScreen = new EnchantressScreen(); this.m_dialogueScreen = new DialogueScreen(); this.m_pauseScreen = new PauseScreen(); this.m_optionsScreen = new OptionsScreen(); this.m_profileCardScreen = new ProfileCardScreen(); this.m_creditsScreen = new CreditsScreen(); this.m_skillUnlockScreen = new SkillUnlockScreen(); this.m_diaryEntryScreen = new DiaryEntryScreen(); this.m_deathDefyScreen = new DeathDefiedScreen(); this.m_textScreen = new TextScreen(); this.m_flashbackScreen = new DiaryFlashbackScreen(); this.m_gameOverBossScreen = new GameOverBossScreen(); this.m_profileSelectScreen = new ProfileSelectScreen(); }