Example #1
0
        /// <summary>
        /// Loads the SpriteBatch and font.
        /// </summary>
        protected override void LoadContent()
        {
            menu = content.Load<Texture2D>("Content\\menu");
            chart = content.Load<Texture2D>("Content\\chars");
            title = new UIRenderer(menu, game);
            chara = new UIRenderer(chart, game);
            chara.AddFadeEffect(0.0f, 1500);

            chara.SetPosition(new Vector2(430, 460));
            title.SetAlpha(0.0f);
            title.AddBloomEffect(0.0f,800);
            title.AddFadeEffect(1.0f,800);
        }
Example #2
0
 /// <summary>
 /// Loads the SpriteBatch and font.
 /// </summary>
 protected override void LoadContent()
 {
     spTex = content.Load<Texture2D>("Content\\pgi");
     spRend = new UIRenderer(spTex, game);
     spRend.SetAlpha(0.0f);
     spRend.AddFadeEffect(1.0f, 800);
     spRend.AddBloomEffect(0.0f, 800);
 }