Beispiel #1
0
        static void Main()
        {
            // この行は実際に使うときには無視してください
            // Please ignore this line when you actually use.
            DemoOS.Init();

            // ゲームを初期化して実行します
            // Initialize and run the game
            using var g = new RoutingGameBase <LauncherScene>(640, 480, followsDpi: true)
                  {
                      WindowMode = WindowMode.Resizable
                  };

            g.Run();
        }
Beispiel #2
0
        static int Main()
        {
            // この行は実際に使うときには無視してください
            // Please ignore this line when you actually use.
            DemoOS.Init();

            // ゲームを初期化して実行します
            // Initialize and run the game
            DF.Window.Start += () =>
            {
                DF.Router.ChangeScene <LauncherScene>();
                DF.Window.Mode = WindowMode.Resizable;
            };
            return(DF.Run());
        }