コード例 #1
0
ファイル: Entry.cs プロジェクト: Xeltica/HarapekoSnake
        static void Main(string[] args)
        {
            var game = new RoutingGameBase <TitleScene>(512, 480, "はらぺこスネーク", 60, false, true);

            // game.Update += (s, e) =>
            // {
            //     game.ConsoleCursor = VectorInt.Zero;
            //     game.Print(Time.Fps);
            // };
            game.Run();
        }
コード例 #2
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();
        }