/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Gamejam game = new Gamejam()) { game.Run(); } }
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; }