Exemple #1
0
        public CaveIn(Texture2D sprite, Map map, Game1 game, Map nextMap)
            : base(sprite, map)
        {
            this.PhysicalContact += FoundMe;
            this.gameref = game;
            DialogState state = new DialogState(0, "You come across a cavern.\n\n        Dare you venture?");
            state.addResponse("Hells Yah...", -1);
            state.addResponse("It does look a little dark in there...\n    Maybe after a cup of tea.", -2);
            this.Dialog.addState(state);
            state = new DialogState(1, "Its way to scary to enter. \n    Plus, you gotta find more kids first.");
            state.addResponse("Oh.... Ill look then", -1);
            state.addResponse("Who are you to boss me around silly cave?", 2);
            this.Dialog.addState(state);
            state = new DialogState(2, "Im a cave. You know?");
            state.addResponse("Yes, I do know!", 3);
            state.addResponse("So?", 3);
            state.addResponse("Fine, I'll leave you alone", -2);
            this.Dialog.addState(state);
            state = new DialogState(3, "You should listen to me");
            state.addResponse("Why?", 2);
            state.addResponse("Fine!", -2);
            this.Dialog.addState(state);
            this.Position = new Vector2(14, 10 + 32);

            this.nextMap = nextMap;
        }
Exemple #2
0
        public Key(Texture2D sprite, Map map, Game1 game)
            : base(sprite, map)
        {
            this.PhysicalContact += FoundMe;
            this.gameref = game;

            this.Position = new Vector2(45, 17);
        }
Exemple #3
0
 public BlankChar(Texture2D sprite, Map map, Game1 game, Agent agent)
     : base(sprite, map)
 {
     this.PhysicalContact += TalkToMe;
     this.gameref = game;
     this.Position = new Vector2(45, 17);
     this.agent = agent;
 }
Exemple #4
0
        public Camera(Game1 game, Map map)
            : base(game)
        {
            this.game = game;
            this.map = map;

            position = new Rectangle(0, 0, (game.ScreenRect.Width / 32) + 1, (game.ScreenRect.Height / 32) + 1);
            ScreenDef = new Rectangle(0, 0, (game.ScreenRect.Width / 32) + 1, (game.ScreenRect.Height / 32) + 1);
            Color = Color.White;
        }
Exemple #5
0
 public Kid2(Texture2D sprite, Map map, Game1 game)
     : base(sprite, map)
 {
     this.PhysicalContact += FoundMe;
     this.gameref = game;
     DialogState state = new DialogState(0, "... !");
     state.addResponse("Ok...");
     state.addResponse("Allways the mute one.");
     state.addResponse("Noone expects the spanish dictionary!");
     this.Dialog.addState(state);
     this.Position = new Vector2(32 + 24, 16 + 64);
 }
Exemple #6
0
 public Kid1(Texture2D sprite, Map map, Game1 game)
     : base(sprite, map)
 {
     this.PhysicalContact += FoundMe;
     this.gameref = game;
     DialogState state = new DialogState(0, "Awww. I thought you would never find me.\n\n   You wont get me next time though! I promise!");
     state.addResponse("Ok...");
     state.addResponse("To the Next One!");
     state.addResponse("Tau Radience Fills the Galaxy!");
     this.Dialog.addState(state);
     this.Position = new Vector2(45, 17);
 }
Exemple #7
0
        public Ghost(Texture2D sprite, Map map, Game1 game, Girl targetChar)
            : base(sprite, map)
        {
            this.gameref = game;
            this.targetChar = targetChar;

            this.Position = new Vector2(7, 64 + 27);

            this.emotionstate = new EmotionState(new eSpace(-.2, -.2, .4, .3, -.1, .3, 0, 0));
            this.emotionstate.setStability(.02);

            PhysicalContact += hitMe;

            shader = gameref.Content.Load<Effect>("shaders/cavernShader");

            emotionstate = new EmotionState();
        }
Exemple #8
0
 public void switchWith(Map map)
 {
     this.subMaps = map.subMaps;
     this.worldSize = map.worldSize;
     this.characterList = map.characterList;
 }
Exemple #9
0
        public Girl(Texture2D sprite, Map map, Game1 game, PlayerChar targetChar)
            : base(sprite, map)
        {
            this.PhysicalContact += FoundMe;
            this.gameref = game;
            this.targetChar = targetChar;

            this.Position = new Vector2(7, 64 + 27);

            this.emotionstate = new EmotionState(new eSpace(-.2, -.2, .4, .3, -.1, .3, 0, 0));
            eSpace.Fear = -.2;
            eSpace.Anger = -.2;
            eSpace.Sadness = .4;
            eSpace.Joy = .3;
            eSpace.Disgust = -.1;
            eSpace.Trust = .3;
            addEmotion(eSpace, 100);

            shader = gameref.Content.Load<Effect>("shaders/cavernShader");

            /*
            DialogState state = new DialogState(0, "Eeek! You found me!");
            state.addResponse("Ok...",1);
            state.addResponse("Go Away Kitty...",2);
            state.addResponse("Meow meow meow mix.. !",2);
            state.addResponse("I found who?", 3);
            state.addResponse("Lets get out of here.", 4);
            state.addResponse("Yes I did", 5);
            this.Dialog.addState(state);
            state = new DialogState(1, "Lets get out of here");
            state.addResponse("Good idea",-1);
            state.addResponse("But I dont wanna!",11);
            this.Dialog.addState(state);
            state = new DialogState(2, "Ummm... who you callin kitty. Freak.");
            state.addResponse("Thats what she said", 6);
            state.addResponse("Sorry, slip of tounge. Moving on...", 7);
            state.addResponse("Well then what are you?", 3);
            state.addResponse("Your ears sure are pointy\n enough for it.", 8);
            this.Dialog.addState(state);
            state = new DialogState(3, "Me. Why are you asking that?");
            state.addResponse("Because I can",8);
            state.addResponse("Your answers suck", 9);
            state.addResponse("Because I'm a dick", 10);
            state.addResponse("*meow*", 2);
            this.Dialog.addState(state);
            state = new DialogState(4, "Good idea. Follow me!");
            state.addResponse("ok!",-1);
            state.addResponse("*me0w*", 2);
            this.Dialog.addState(state);
            state = new DialogState(5, "So what now?");
            state.addResponse("Pie",12);
            state.addResponse("Rawr",13);
            state.addResponse("lets go",4);
            this.Dialog.addState(state);
            state = new DialogState(6, "Your mom");
            state.addResponse("Kitty!",2);
            state.addResponse("Your Dad", 14);
            state.addResponse("Umm... ", 1);
            this.Dialog.addState(state);
            state = new DialogState(7, "So says the freak");
            state.addResponse("Says the one with the cat", 14);
            state.addResponse("Owww", 1);
            this.Dialog.addState(state);
            state = new DialogState(8, "Dick");
            state.addResponse("I am", 10);
            state.addResponse("Change of Subject, lets leave.", 4);
            state.addResponse("You know who else wants one?", 6);
            this.Dialog.addState(state);
            state = new DialogState(9, "Says the one asking these shitty ass questions");
            state.addResponse("Cant help it, Im scripted", 15);
            state.addResponse("Says the one... Kitty!", 2);
            state.addResponse("Ill stop the questions if you\n show me the way out?", 4);
            this.Dialog.addState(state);
            state = new DialogState(10, "Well you sure aint got one!");
            state.addResponse("Burrrn",6);
            state.addResponse("Says the kitty.", 2);
            state.addResponse("New Topic, leave?", 4);
            this.Dialog.addState(state);
            state = new DialogState(11, "Too Bad!");
            state.addResponse("Awwww", 5);
            state.addResponse("Pie", 12);
            this.Dialog.addState(state);
            state = new DialogState(12, "Pie? Where?");
            state.addResponse("Thats what she said", 8);
            state.addResponse("I ate it", 8);
            state.addResponse("The Mad Robot said to eat it.", 7);
            this.Dialog.addState(state);
            state = new DialogState(13, "Ooh! Tigers!");
            state.addResponse("And Kitties!", 2);
            state.addResponse("Another good reasion to put some\n distance between us and\n this cavern.", 4);
            this.Dialog.addState(state);
            state = new DialogState(14,"Your gross");
            state.addResponse("No you are", 7);
            state.addResponse("But I dont wanna be!", 10);
            this.Dialog.addState(state);
            state = new DialogState(15, "Then pick the right answer!");
            state.addResponse("AlphaNumeric!", 8);
            state.addResponse("Lets go...", 2);
            this.Dialog.addState(state);
             */

            emotionstate = new EmotionState();
        }
Exemple #10
0
 public NPCChild(Texture2D sprite, Map map)
     : base(sprite, map)
 {
 }
Exemple #11
0
 //int timeItt = 0;
 /// <summary>
 /// NonPlayableChar constructor.
 /// </summary>
 /// <param name="sprite"></param>
 /// <param name="map"></param>
 public NonPlayableChar(Texture2D sprite, Map map)
     : base(sprite, map)
 {
 }
Exemple #12
0
 public void setMap(Map map)
 {
     this.map = map;
 }