Ejemplo n.º 1
0
 public GameClient() : base()
 {
     Content.RootDirectory = "Content";
     policy = Scene.SceneResolutionPolicy.None;
     Scene.SetDefaultDesignResolution(1920, 1080, policy);
     Window.AllowUserResizing = true;
 }
Ejemplo n.º 2
0
        //public Game1() : base ( width: 1280, height: 768, isFullScreen: false, enableEntitySystems: false)
        //{

        //    Core.defaultSamplerState = SamplerState.LinearClamp;
        //}
        public Game1() : base()
        {
            policy = Scene.SceneResolutionPolicy.ShowAll;
            Scene.setDefaultDesignResolution(640, 480, policy);
            Screen.setSize(640 * 2, 480 * 2);
            Window.AllowUserResizing = true;
        }
Ejemplo n.º 3
0
 public Game1() : base()
 {
     policy = Scene.SceneResolutionPolicy.FixedHeightPixelPerfect;
     Window.AllowUserResizing = true;
     gameRef            = this;
     debugRenderEnabled = false;
 }
Ejemplo n.º 4
0
        public GameEngine() : base()
        {
            // michelle: play around with this
            policy = Scene.SceneResolutionPolicy.NoBorderPixelPerfect;
            Scene.setDefaultDesignResolution(1200, 800, policy);

            Window.AllowUserResizing = true;
        }
Ejemplo n.º 5
0
        public Game() : base(256 * 4, 144 * 4, windowTitle: "Screenwrap")
        {
            policy = Scene.SceneResolutionPolicy.BestFit;
            Scene.setDefaultDesignResolution(256, 144, policy, 0, 0);
            Window.AllowUserResizing = true;

            Window.Position          = new Point(0, 0);
            DebugConsole.renderScale = 4;
        }