コード例 #1
0
        /// <summary>
        /// Sets up several default values for the gameview.
        /// </summary>
        public override void GameInitialize()
        {
            // Set the required values
            GAME_ENGINE.SetTitle($"Missile Command {Registers.version}");
            GAME_ENGINE.SetIcon("icon.ico");

            // Set the optional values
            GAME_ENGINE.SetScreenWidth(Registers.ScreenWidth);
            GAME_ENGINE.SetScreenHeight(Registers.ScreenHeight);
            GAME_ENGINE.SetBackgroundColor(0, 0, 0); //Appelblauwzeegroen
            //GAME_ENGINE.SetBackgroundColor(49, 77, 121); //The Unity background color
        }
コード例 #2
0
ファイル: AbstractGame.cs プロジェクト: TwanHelleman/Vectoren
        public override void GameInitialize()
        {
            // Set the required values
            GAME_ENGINE.SetTitle("Canvas v1.1.1");
            GAME_ENGINE.SetIcon("icon.ico");

            // Set the optional values
            GAME_ENGINE.SetScreenWidth(640);
            GAME_ENGINE.SetScreenHeight(240);
            GAME_ENGINE.SetBackgroundColor(0, 167, 141); //Appelblauwzeegroen
            //GAME_ENGINE.SetBackgroundColor(49, 77, 121); //The Unity background color
        }
コード例 #3
0
        public override void GameInitialize()
        {
            // Set the required values
            GAME_ENGINE.SetTitle("League of Advanture");
            GAME_ENGINE.SetIcon("icon.ico");

            // Set the optional values
            GAME_ENGINE.SetWidth(1280);
            GAME_ENGINE.SetHeight(768);
            //GAME_ENGINE.SetBackgroundColor(0, 167, 141); //Appelblauwzeegroen
            GAME_ENGINE.SetBackgroundColor(49, 77, 121); //The Unity background color
        }