Exemplo n.º 1
0
        static void Main(string[] args)
        {
            SystemCore.ActiveColorScheme = ColorScheme.ColorSchemes["elgray"];
            ScreenResolutionName resToUse = ScreenResolutionName.WXGA;

            if (System.Environment.MachineName == "NICKMCCREA-PC")
            {
                resToUse = ScreenResolutionName.WUXGA;
            }

            using (var game = new MonoEngineGame(typeof(MainMenuScreen), resToUse, DepthFormat.Depth24, true, false))
                game.Run();
        }
Exemplo n.º 2
0
        static void Main()
        {
            SystemCore.ActiveColorScheme = ColorScheme.ColorSchemes["space"];

            ScreenResolutionName resToUse = ScreenResolutionName.WXGA;

            if (System.Environment.MachineName == "NICKMCCREA-PC")
            {
                resToUse = ScreenResolutionName.WUXGA;
            }

            using (var game = new MonoEngineGame(typeof(MainMenuScreen), resToUse, DepthFormat.Depth24, SystemWarGlobalSettings.FixedTimeStep, SystemWarGlobalSettings.PhysicsOnBackgroundThread))
                game.Run();
        }