Exemplo n.º 1
0
        public override void Render()
        {
            QuadRenderer.Begin();
            float alpha = (10 - timer) / 10;

            QuadRenderer.DrawFullScreenGradient(new Color4(38f / 255, 38f / 255, 39f / 255, alpha), new Color4(70f / 255, 69f / 255, 70f / 255, alpha));

            Color4 color = new Color4(1, 1, 1, alpha);

            QuadRenderer.Draw(StartupLayer.logo, new Vector2(Display.Width / 2 - StartupLayer.logo.Width / 2, Display.Height / 2 - StartupLayer.logo.Height / 2 - 20 * alpha), color);

            QuadRenderer.End();
        }