예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
예제 #2
0
 public IntroScreen(ContentManager Content, Game1 Game)
 {
     game = Game;
     name = "Intro";
     aChange = true;
     versionVector = new Vector2(700, 575);
     titleImage = Content.Load<Texture2D>("Title Image");
     blkImage = Content.Load<Texture2D>("Darkness");
     font = Content.Load<SpriteFont>("TerminalFont");
 }
예제 #3
0
        static void Main(string[] args)
        {
            // Form Settings
            FormSettings settings = new FormSettings()
            {
                ContentDirectory = "Content",
                ScreenSize = new Microsoft.Xna.Framework.Point(800, 600),
                Windowed = true,
                WindowMouseView = true,
                FormContolLayout = new DefaultLayuout(),
                Window = new DefaultGameWindow()
            };

            // Run Window
            using (Game1 game = new Game1(settings)) game.Run();
        }