Esempio n. 1
0
 public LvlSelect(Scene privousScene)
     : base(privousScene)
 {
     buttonNum = 2;
     button = new Button[buttonNum];
     for (int i = 0; i < buttonNum; i++)
         button[i].color = Color.Blue;
     Load();
 }
Esempio n. 2
0
        public MainMenu(Scene privousScene)
            : base(privousScene)
        {
            buttonNum = 3;
            button = new Button[buttonNum];
            for(int i = 0; i < buttonNum; i++)
                button[i].color = Color.Blue;

            Load();
        }
Esempio n. 3
0
        //private const int displayNum = 5;
        //private int[] scores = new int[displayNum];
        public Ranking(Scene upperScene)
            : base(upperScene)
        {
            buttonNum = 1;
            button = new Button[buttonNum];

            for (int i = 0; i < button.Length; i++)
                button[i].color = Color.Blue;

            Load();
        }
        public AvilitySelect(Scene privousScene)
            : base(privousScene)
        {
            buttonNum = 3;
            button = new Button[buttonNum];

            for (int i = 0; i < button.Length; i++)
                button[i].color = Color.Blue;

            Load();
        }
Esempio n. 5
0
        public KeyConfig(Scene previousScene)
            : base(previousScene)
        {
            buttonNum = 3;
            button = new Button[buttonNum];
            for (int i = 0; i < buttonNum; i++) {
                button[i].color = Color.Blue;
            }

            Load();
        }
        /*/// <summary>
        /// スコア情報
        /// </summary>
        private int second, minute, sec;
        /// <summary>
        /// スコア情報
        /// </summary>
        private float sec2;*/
        public ClearScene(Stage stage)
            : base(stage)
        {
            buttonNum = 1;
            button = new Button[buttonNum];
            this.gameStatus = stage.gameStatus;

            for (int i = 0; i < button.Length; i++)
                button[i].color = Color.Blue;

            Load();
            game.hasReachedCheckPoint = false;
            game.tmpGameStatus = new GameStatus();
            game.stageScores[game.stageNum - 1] += 10000;
        }
Esempio n. 7
0
        public SoundTest(Scene privousScene)
            : base(privousScene)
        {
            sceneTitle = "SoundTest";
            buttonNum = 5;
            button = new Button[buttonNum];
            musics = new SoundEffect[musicString.Length];
            soundEffects = new SoundEffect[seString.Length];

            Load();

            for (int i = 0; i < button.Length; i++) {
                button[i].color = Color.Blue;
                button[i].name = menuString[i];
            }
        }
        public StageSelect(Scene privousScene)
            : base(privousScene)
        {
            sceneTitle = "Stage Select";
            buttonNum = 4;
            button = new Button[buttonNum];
            menuString = new string[] {
                "Stage 1",
                "Stage 2",
                "Stage 3",
                "Back"
            };

            for (int i = 0; i < button.Length; i++) {
                button[i].color = Color.Blue;
                button[i].name = menuString[i];
            }

            Load();
        }
Esempio n. 9
0
        public DebugMenu(PauseMenu privousScene, Stage stage)
            : base(privousScene)
        {
            sceneTitle = "Debug Menu";
            this.stage = stage;

            menuString = new string[] {
                "Back",
                //"change on/off",
                "inDebugMode",
                "isMuted",
                "visibleSword",
                //"score",
                "syoryuMode",
                "thrustChargeMode",
                "twoButtonMode",
                //"empty",
            };
            contextString = new string[] {
                "戻る",
                "デバッグモードをオン/オフにします",
                "ミュートのオン/オフ",
                "ゲーム中、剣の判定矩形を表示します",
                //"ゲーム中、画面上にスコアを表示します",
                "斬り上げ時のモーションを変更します",
                "連続突きを発動するアサインを変更します",
                "攻撃を2ボタンで行うモードをオン/オフします",
                //"空の項目",
            };
            buttonNum = menuString.Length;
            button = new Button[buttonNum];

            for (int i = 0; i < buttonNum; i++) {
                button[i].color = Color.Blue;
                button[i].name = menuString[i];
            }
            Load();
        }
Esempio n. 10
0
        public PauseMenu(Stage privousScene)
            : base(privousScene)
        {
            sceneTitle = "Pause";
            drawBackGround = false;

            menuString = new string[] {
                "Resume",
                //"Option",
                "BackToMenu",
                "DebugMenu",
                //"Exit"
            };
            buttonNum = menuString.Length;
            button = new Button[buttonNum];
            for (int i = 0; i < buttonNum; i++) {
                button[i].color = Color.Blue;
                button[i].name = menuString[i];
            }
            SoundControl.Pause();

            Load();
        }