Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Gamejam game = new Gamejam())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
        public Gamejam()
        {
            Instance = this;

              graphics = new GraphicsDeviceManager(this);

              float fScreenW = gam_fScreenWidth * gam_fGameScale;
              float fScreenH = gam_fScreenHeight * gam_fGameScale;

              graphics.PreferredBackBufferWidth = (int)fScreenW;
              graphics.PreferredBackBufferHeight = (int)fScreenH;

              Content.RootDirectory = "";

              IsMouseVisible = true;
        }