Example #1
0
        public LensFlareGame()
        {
            graphics = new GraphicsDeviceManager(this);

            Content.RootDirectory = "Content";

            // Create and add the lensflare component.
            lensFlare = new LensFlareComponent(this);

            Components.Add(lensFlare);
        }
Example #2
0
        public LensFlareGame()
        {
            graphics = new GraphicsDeviceManager(this);

            Content.RootDirectory = "Content";

            // Create and add the lensflare component.
            lensFlare = new LensFlareComponent(this);

            Components.Add(lensFlare);
        }
Example #3
0
        public LensFlareGame()
        {
            graphics = new GraphicsDeviceManager(this);
            graphics.GraphicsProfile           = GraphicsProfile.HiDef;
            graphics.PreferredBackBufferWidth  = 1800;
            graphics.PreferredBackBufferHeight = 900;
            Content.RootDirectory = "Content";

            // Create and add the lensflare component.
            lensFlare = new LensFlareComponent(this);

            Components.Add(lensFlare);
        }
Example #4
0
        public LensFlareGame()
        {
            graphics = new GraphicsDeviceManager(this);

            graphics.PreferredBackBufferWidth = 1280;
            graphics.PreferredBackBufferHeight = 720;

            Content.RootDirectory = "Content";

            // Create and add the lensflare component.
            lensFlare = new LensFlareComponent(this);

            Components.Add(lensFlare);
        }