Пример #1
0
        public static void StartDemo()
        {
            CTFAGame app = new CTFAGame(ImageFormats.pix_format_rgba32);

            app.Caption = "Rock blaster is a game a lot like Asteroids.";

            int GameWidth  = 800;
            int GameHeight = 600;

            if (app.init(GameWidth, GameHeight, WindowFlags.UseOpenGL))
            //if (app.init(GameWidth, GameHeight, WindowFlags.None))
            {
                app.run();
            }
        }
Пример #2
0
        public static void StartDemo()
        {
            CTFAGame app = new CTFAGame(ImageFormats.pix_format_rgba32);
            app.Caption = "Rock blaster is a game a lot like Asteroids.";

            int GameWidth = 800;
            int GameHeight = 600;
            if (app.init(GameWidth, GameHeight, WindowFlags.UseOpenGL))
            //if (app.init(GameWidth, GameHeight, WindowFlags.None))
            {
                app.run();
            }
        }