Ejemplo n.º 1
0
        public void rollCredits()
        {
            helpLabel = new MovingLabel(spriteFont, "Press E to go back to the menu.");
            helpLabel.dimensions.X = drawSpace.Width / 2 + 200;
            helpLabel.dimensions.Y = 20;


            MovingLabel        header         = new MovingLabel(spriteFont, "DREAM STATE MACHINE");
            List <MovingLabel> gameHeaderList = new List <MovingLabel>();

            gameHeaderList.Add(header);
            credits.Add(gameHeaderList);
            MovingLabel        projectLeadHeader = new MovingLabel(spriteFont, "Connor Brinkmann");
            MovingLabel        projectLead       = new MovingLabel(spriteFont, "Project lead, Game Architect, Programming, Animation, World design");
            List <MovingLabel> projectLeadList   = new List <MovingLabel>();

            projectLeadList.Add(projectLeadHeader);
            projectLeadList.Add(projectLead);
            credits.Add(projectLeadList);

            MovingLabel        MitchProgrammerHeader = new MovingLabel(spriteFont, "Mitchell McClellan");
            MovingLabel        MitchProgrammer       = new MovingLabel(spriteFont, "Sound programmer, Item programmer, Character design/animation");
            List <MovingLabel> MitchProgrammerList   = new List <MovingLabel>();

            MitchProgrammerList.Add(MitchProgrammerHeader);
            MitchProgrammerList.Add(MitchProgrammer);
            credits.Add(MitchProgrammerList);

            MovingLabel        JeremyProgrammerHeader = new MovingLabel(spriteFont, "Jeremy Feltracco");
            MovingLabel        JeremyProgrammer       = new MovingLabel(spriteFont, "Game input programming, Controller support programming");
            List <MovingLabel> JeremyProgrammerList   = new List <MovingLabel>();

            JeremyProgrammerList.Add(JeremyProgrammerHeader);
            JeremyProgrammerList.Add(JeremyProgrammer);
            credits.Add(JeremyProgrammerList);

            MovingLabel        AaronProgrammerHeader = new MovingLabel(spriteFont, "Aaron Andrews");
            MovingLabel        AaronProgrammer       = new MovingLabel(spriteFont, "Prop programming");
            List <MovingLabel> AaronProgrammerList   = new List <MovingLabel>();

            AaronProgrammerList.Add(AaronProgrammerHeader);
            AaronProgrammerList.Add(AaronProgrammer);
            credits.Add(AaronProgrammerList);

            MovingLabel        MattProgrammerHeader = new MovingLabel(spriteFont, "Matt Schmidt");
            MovingLabel        MattProgrammer       = new MovingLabel(spriteFont, "Linux assistance");
            List <MovingLabel> MattProgrammerList   = new List <MovingLabel>();

            MattProgrammerList.Add(MattProgrammerHeader);
            MattProgrammerList.Add(MattProgrammer);
            credits.Add(MattProgrammerList);

            MovingLabel        HoKeunProgrammerHeader = new MovingLabel(spriteFont, "Ho Keun Kim");
            MovingLabel        HoKeunProgrammer       = new MovingLabel(spriteFont, "Tutorial World programming/design");
            List <MovingLabel> HoKeunProgrammerList   = new List <MovingLabel>();

            HoKeunProgrammerList.Add(HoKeunProgrammerHeader);
            HoKeunProgrammerList.Add(HoKeunProgrammer);
            credits.Add(HoKeunProgrammerList);

            MovingLabel        OjanProgrammerHeader = new MovingLabel(spriteFont, "Ojan Thornycroft");
            MovingLabel        OjanProgrammer       = new MovingLabel(spriteFont, "Rendering programming, world transition programming");
            List <MovingLabel> OjanProgrammerList   = new List <MovingLabel>();

            OjanProgrammerList.Add(OjanProgrammerHeader);
            OjanProgrammerList.Add(OjanProgrammer);
            credits.Add(OjanProgrammerList);

            MovingLabel        PatrickArtistHeader = new MovingLabel(spriteFont, "Patrick Sewell");
            MovingLabel        PatrickArtist       = new MovingLabel(spriteFont, "Menu design/art, additional Sound effects, Health bar design");
            List <MovingLabel> PatrickArtistList   = new List <MovingLabel>();

            PatrickArtistList.Add(PatrickArtistHeader);
            PatrickArtistList.Add(PatrickArtist);
            credits.Add(PatrickArtistList);

            MovingLabel        LarryArtistHeader = new MovingLabel(spriteFont, "Larry Smith");
            MovingLabel        LarryArtist       = new MovingLabel(spriteFont, "Character design/animation, Item design");
            List <MovingLabel> LarryArtistList   = new List <MovingLabel>();

            LarryArtistList.Add(LarryArtistHeader);
            LarryArtistList.Add(LarryArtist);
            credits.Add(LarryArtistList);

            MovingLabel        NickMusicianHeader = new MovingLabel(spriteFont, "Nicholas Shooter");
            MovingLabel        NickMusician       = new MovingLabel(spriteFont, "Composer for Ice World, Temple world, Grass world");
            List <MovingLabel> NickMusicianList   = new List <MovingLabel>();

            NickMusicianList.Add(NickMusicianHeader);
            NickMusicianList.Add(NickMusician);
            credits.Add(NickMusicianList);

            MovingLabel        XenaMusicianHeader = new MovingLabel(spriteFont, "Xena Grant");
            MovingLabel        XenaMusician       = new MovingLabel(spriteFont, "Composer for Nightmare world");
            List <MovingLabel> XenaMusicianList   = new List <MovingLabel>();

            XenaMusicianList.Add(XenaMusicianHeader);
            XenaMusicianList.Add(XenaMusician);
            credits.Add(XenaMusicianList);

            MovingLabel        CaylenaMusicianHeader = new MovingLabel(spriteFont, "Caylen Lee");
            MovingLabel        CaylenaMusician       = new MovingLabel(spriteFont, "Composer for Credits");
            List <MovingLabel> CaylenaMusicianList   = new List <MovingLabel>();

            CaylenaMusicianList.Add(CaylenaMusicianHeader);
            CaylenaMusicianList.Add(CaylenaMusician);
            credits.Add(CaylenaMusicianList);

            MovingLabel        userTestingHeader = new MovingLabel(spriteFont, "USER TESTING:");
            MovingLabel        RobbieTest        = new MovingLabel(spriteFont, "Robbie Thomas");
            MovingLabel        ChaseTest         = new MovingLabel(spriteFont, "Chase Melton");
            MovingLabel        IdeanTest         = new MovingLabel(spriteFont, "Idean Behforouz");
            MovingLabel        MattTest          = new MovingLabel(spriteFont, "Mathew Guzdial");
            MovingLabel        ElliotTest        = new MovingLabel(spriteFont, "Elliot Outland");
            List <MovingLabel> UserTestingList   = new List <MovingLabel>();

            UserTestingList.Add(userTestingHeader);
            UserTestingList.Add(RobbieTest);
            UserTestingList.Add(ChaseTest);
            UserTestingList.Add(IdeanTest);
            UserTestingList.Add(MattTest);
            UserTestingList.Add(ElliotTest);
            credits.Add(UserTestingList);


            int startingY         = drawSpace.Height + 100;
            int additionalOffsetY = 0;

            foreach (List <MovingLabel> creditList in credits)
            {
                foreach (MovingLabel mention in creditList)
                {
                    mention.dimensions.X = 30;
                    mention.dimensions.Y = startingY + additionalOffsetY;
                    mention.velocity.Y   = -1;
                    additionalOffsetY   += 30;
                }
                additionalOffsetY += 50;
            }
            //header.dimensions.X = 550;
        }
Ejemplo n.º 2
0
        public void rollCredits()
        {

            helpLabel = new MovingLabel(spriteFont, "Press E to go back to the menu.");
            helpLabel.dimensions.X = drawSpace.Width / 2 + 200;
            helpLabel.dimensions.Y = 20;


            MovingLabel header = new MovingLabel(spriteFont, "DREAM STATE MACHINE");
            List<MovingLabel> gameHeaderList = new List<MovingLabel>();
            gameHeaderList.Add(header);
            credits.Add(gameHeaderList);
            MovingLabel projectLeadHeader = new MovingLabel(spriteFont, "Connor Brinkmann");
            MovingLabel projectLead = new MovingLabel(spriteFont, "Project lead, Game Architect, Programming, Animation, World design");
            List<MovingLabel> projectLeadList = new List<MovingLabel>();
            projectLeadList.Add(projectLeadHeader);
            projectLeadList.Add(projectLead);
            credits.Add(projectLeadList);

            MovingLabel MitchProgrammerHeader = new MovingLabel(spriteFont, "Mitchell McClellan");
            MovingLabel MitchProgrammer = new MovingLabel(spriteFont, "Sound programmer, Item programmer/designer, Character design/animation");
            List<MovingLabel> MitchProgrammerList = new List<MovingLabel>();
            MitchProgrammerList.Add(MitchProgrammerHeader);
            MitchProgrammerList.Add(MitchProgrammer);
            credits.Add(MitchProgrammerList);

            MovingLabel JeremyProgrammerHeader = new MovingLabel(spriteFont, "Jeremy Feltracco");
            MovingLabel JeremyProgrammer = new MovingLabel(spriteFont, "Game input programming, Controller support programming");
            List<MovingLabel> JeremyProgrammerList = new List<MovingLabel>();
            JeremyProgrammerList.Add(JeremyProgrammerHeader);
            JeremyProgrammerList.Add(JeremyProgrammer);
            credits.Add(JeremyProgrammerList);

            MovingLabel AaronProgrammerHeader = new MovingLabel(spriteFont, "Aaron Andrews");
            MovingLabel AaronProgrammer = new MovingLabel(spriteFont, "Prop programming");
            List<MovingLabel> AaronProgrammerList = new List<MovingLabel>();
            AaronProgrammerList.Add(AaronProgrammerHeader);
            AaronProgrammerList.Add(AaronProgrammer);
            credits.Add(AaronProgrammerList);

            MovingLabel MattProgrammerHeader = new MovingLabel(spriteFont, "Matt Schmidt");
            MovingLabel MattProgrammer = new MovingLabel(spriteFont, "Linux assistance");
            List<MovingLabel> MattProgrammerList = new List<MovingLabel>();
            MattProgrammerList.Add(MattProgrammerHeader);
            MattProgrammerList.Add(MattProgrammer);
            credits.Add(MattProgrammerList);

            MovingLabel HoKeunProgrammerHeader = new MovingLabel(spriteFont, "Ho Keun Kim");
            MovingLabel HoKeunProgrammer = new MovingLabel(spriteFont, "Tutorial World programming/design");
            List<MovingLabel> HoKeunProgrammerList = new List<MovingLabel>();
            HoKeunProgrammerList.Add(HoKeunProgrammerHeader);
            HoKeunProgrammerList.Add(HoKeunProgrammer);
            credits.Add(HoKeunProgrammerList);

            MovingLabel OjanProgrammerHeader = new MovingLabel(spriteFont, "Ojan Thornycroft");
            MovingLabel OjanProgrammer = new MovingLabel(spriteFont, "Rendering programming, world transition programming");
            List<MovingLabel> OjanProgrammerList = new List<MovingLabel>();
            OjanProgrammerList.Add(OjanProgrammerHeader);
            OjanProgrammerList.Add(OjanProgrammer);
            credits.Add(OjanProgrammerList);

            MovingLabel PatrickArtistHeader = new MovingLabel(spriteFont, "Patrick Sewell");
            MovingLabel PatrickArtist = new MovingLabel(spriteFont, "Menu design/art, additional Sound effects, Health bar design");
            List<MovingLabel> PatrickArtistList = new List<MovingLabel>();
            PatrickArtistList.Add(PatrickArtistHeader);
            PatrickArtistList.Add(PatrickArtist);
            credits.Add(PatrickArtistList);

            MovingLabel LarryArtistHeader = new MovingLabel(spriteFont, "Larry Smith");
            MovingLabel LarryArtist = new MovingLabel(spriteFont, "Character design/animation, Item design");
            List<MovingLabel> LarryArtistList = new List<MovingLabel>();
            LarryArtistList.Add(LarryArtistHeader);
            LarryArtistList.Add(LarryArtist);
            credits.Add(LarryArtistList);

            MovingLabel NickMusicianHeader = new MovingLabel(spriteFont, "Nicholas Shooter");
            MovingLabel NickMusician = new MovingLabel(spriteFont, "Composer for Ice World, Temple world, Grass world");
            List<MovingLabel> NickMusicianList = new List<MovingLabel>();
            NickMusicianList.Add(NickMusicianHeader);
            NickMusicianList.Add(NickMusician);
            credits.Add(NickMusicianList);

            MovingLabel XenaMusicianHeader = new MovingLabel(spriteFont, "Xena Grant");
            MovingLabel XenaMusician = new MovingLabel(spriteFont, "Composer for Nightmare world");
            List<MovingLabel> XenaMusicianList = new List<MovingLabel>();
            XenaMusicianList.Add(XenaMusicianHeader);
            XenaMusicianList.Add(XenaMusician);
            credits.Add(XenaMusicianList);

            MovingLabel CaylenaMusicianHeader = new MovingLabel(spriteFont, "Caylen Lee");
            MovingLabel CaylenaMusician = new MovingLabel(spriteFont, "Composer for Credits");
            List<MovingLabel> CaylenaMusicianList = new List<MovingLabel>();
            CaylenaMusicianList.Add(CaylenaMusicianHeader);
            CaylenaMusicianList.Add(CaylenaMusician);
            credits.Add(CaylenaMusicianList);

            MovingLabel userTestingHeader = new MovingLabel(spriteFont, "USER TESTING:");
            MovingLabel RobbieTest = new MovingLabel(spriteFont, "Robbie Thomas");
            MovingLabel ChaseTest = new MovingLabel(spriteFont, "Chase Melton");
            MovingLabel IdeanTest = new MovingLabel(spriteFont, "Idean Behforouz");
            MovingLabel MattTest = new MovingLabel(spriteFont, "Mathew Guzdial");
            MovingLabel ElliotTest = new MovingLabel(spriteFont, "Elliot Outland");
            List<MovingLabel> UserTestingList = new List<MovingLabel>();
            UserTestingList.Add(userTestingHeader);
            UserTestingList.Add(RobbieTest);
            UserTestingList.Add(ChaseTest);
            UserTestingList.Add(IdeanTest);
            UserTestingList.Add(MattTest);
            UserTestingList.Add(ElliotTest);
            credits.Add(UserTestingList);


            int startingY = drawSpace.Height + 100;
            int additionalOffsetY = 0;
            foreach (List<MovingLabel> creditList in credits)
            {
                foreach (MovingLabel mention in creditList)
                {
                    mention.dimensions.X = 30;
                    mention.dimensions.Y = startingY + additionalOffsetY;
                    mention.velocity.Y = -1;
                    additionalOffsetY += 30;
                }
                additionalOffsetY += 50;
            }
            //header.dimensions.X = 550;
        }