Пример #1
0
        public override void Intialize()
        {
            base.Intialize();

            TextAnnouncerEntity announcer = new TextAnnouncerEntity(new AnnouncerEnded(GoToDriveWorld), new Color(150, 255, 130),
                "End of Demo Console", "Thanks for playing Clean'Em Up Demo Version\n" +
                "Hope you enjoyed playing it and consider buying full version\n" +
                "Full version will include:\n" +
                "- 70+ Levels\n" +
                "- 5 Gameplay modes\n" +
                "- 3 Survival modes\n" +
                "- 5 Boss Fights\n" +
                "- 18 Weapons\n" +
                "- 6 Characters\n" +
                "And more...", 600, 0.5f);
            announcer.EscapeHandler = GoToDriveWorld;

            AddOverLayer(announcer);

            AddBackground(GlobalVariables.Background);
            CursorEntity.CursorView = CursorType.Normal;

            for (int i = 0; i < 15; i++)
            {
                VirusEnemy e = new VirusEnemy();
                e.Position.X = OGE.Random.Next((int)Dimensions.X);
                e.Position.Y = OGE.Random.Next((int)Dimensions.Y);

                viruses.Add(e);
                AddEntity(e);
            }

            SoundManager.PlayMusic("menu");
        }
Пример #2
0
        public override void Intialize()
        {
            base.Intialize();

            TextAnnouncerEntity announcer = new TextAnnouncerEntity(new AnnouncerEnded(GoToMainMenu), new Color(150, 255, 130),
                "Review Version Console", "You are only authorized to view, review and to retain\n" +
                "a copy of the game for your own personal use.\n" +
                "Do not duplicate, publish or otherwise distribute the game unless\n" +
                "specifically authorized by Omidos to do so.", 600, 0.5f);
            announcer.EscapeHandler = GoToMainMenu;

            AddOverLayer(announcer);

            AddBackground(GlobalVariables.Background);
            CursorEntity.CursorView = CursorType.Normal;

            for (int i = 0; i < 15; i++)
            {
                VirusEnemy e = new VirusEnemy();
                e.Position.X = OGE.Random.Next((int)Dimensions.X);
                e.Position.Y = OGE.Random.Next((int)Dimensions.Y);

                viruses.Add(e);
                AddEntity(e);
            }

            SoundManager.PlayMusic("menu");
        }
Пример #3
0
        public override void Intialize()
        {
            base.Intialize();

            TextAnnouncerEntity announcer = new TextAnnouncerEntity(new AnnouncerEnded(GoToGamePlay), new Color(150, 255, 130),
                "Story Console", GlobalVariables.Drive.DrivesData[GlobalVariables.CurrentDrive - 1].BeginningStory, 600, 0.5f);
            announcer.EscapeHandler = GoToDriveConsole;

            AddOverLayer(announcer);

            AddBackground(GlobalVariables.Background);
            CursorEntity.CursorView = CursorType.Normal;

            for (int i = 0; i < 15; i++)
            {
                VirusEnemy e = new VirusEnemy();
                e.Position.X = OGE.Random.Next((int)Dimensions.X);
                e.Position.Y = OGE.Random.Next((int)Dimensions.Y);

                viruses.Add(e);
                AddEntity(e);
            }

            SoundManager.PlayMusic("menu");
        }