Exemplo n.º 1
0
        public LevelTransitionScreen(BaseGame i_Game)
            : base(i_Game)
        {
            m_LevelCounterText = "3";
            m_Game             = i_Game;
            Background background = new Background(i_Game, this, 1);

            m_LevelGameText = new GameText2D(i_Game, this, @"Fonts\40BoldSizeCalibri");

            this.ActivationLength = TimeSpan.FromSeconds(1);
        }
Exemplo n.º 2
0
        public WelcomeScreen(BaseGame i_Game)
            : base(i_Game)
        {
            m_Game = i_Game;

            Background background = new Background(i_Game, this, 1);

            m_WelcomeMessage = new GameText2D(i_Game, this, @"Fonts\Showcard Gothic");

            m_EnterToplay = new GameText2D(i_Game, this, @"Fonts\Jokerman");
            m_HToMainMenu = new GameText2D(i_Game, this, @"Fonts\Jokerman");
            m_EscToExit   = new GameText2D(i_Game, this, @"Fonts\Jokerman");

            this.UseFadeTransition = false;

            this.BlendState = Microsoft.Xna.Framework.Graphics.BlendState.NonPremultiplied;
        }