static void Main() { // 720p window size by default GameOptions.Width = 1280; GameOptions.Height = 720; // Done setting options, initialize Game.Initialize(); // Base state is the actual game Game.SetState(new States.Example()); // HUD goes above the game, so we push it on top Game.PushState(new States.UserInterface()); // Finally start the game loop Game.Run(); }
static void Main() { Game.Initialize(new Level(), "Game", 1366, 768, 60); }