Beispiel #1
0
        /// <summary>
        /// dies
        /// </summary>
        protected override void Die()
        {
            BossDeath b = new BossDeath("die", new Actor(mActor.Animations[25]));

            b.GroundPos = GroundPos;
            base.Die();
        }
Beispiel #2
0
 protected override void Die()
 {
     FrostbyteLevel l = (This.Game.CurrentLevel as FrostbyteLevel);
     BossDeath b = new BossDeath("die", new Actor(mActor.Animations[17]));
     b.GroundPos = GroundPos;
     l.HUD.ScrollText("A cool, refreshing feeling washes over you.\n\nHold down the Left trigger and press X, then release the trigger to cast a Water spell!");
     base.Die();
 }
Beispiel #3
0
 protected override void Die()
 {
     BossDeath b = new BossDeath("die", new Actor(mActor.Animations[19]));
     b.GroundPos = GroundPos;
     Frostbyte.Characters.Mage.UnlockedSpells = Spells.EarthOne;
     (This.Game.CurrentLevel as FrostbyteLevel).HUD.ScrollText("You feel the strength of the earth rush in through your feet.\n\nHold down the Left trigger and press A (gamepad) S (keyboard) and then release the trigger to cast an earth spell!\n\nUse RB (gamepad) or E (keyboard) or to target an enemy and LB or Q to target an ally.");
     base.Die();
 }
Beispiel #4
0
        protected override void Die()
        {
            FrostbyteLevel l = (This.Game.CurrentLevel as FrostbyteLevel);
            BossDeath      b = new BossDeath("die", new Actor(mActor.Animations[15]));

            b.GroundPos = GroundPos;
            l.HUD.ScrollText("You feel a strong wave of heat flow throughout your body.\n\nHold down the Left trigger and press B, then release the trigger to cast a Fire spell! \n\n Try casting Tier 3 spells!");
            base.Die();
        }
Beispiel #5
0
        protected override void Die()
        {
            FrostbyteLevel l = (This.Game.CurrentLevel as FrostbyteLevel);
            BossDeath      b = new BossDeath("die", new Actor(mActor.Animations[17]));

            b.GroundPos = GroundPos;
            l.HUD.ScrollText("A cool, refreshing feeling washes over you.\n\nHold down the Left trigger and press X, then release the trigger to cast a Water spell!");
            base.Die();
        }
Beispiel #6
0
        protected override void Die()
        {
            BossDeath b = new BossDeath("die", new Actor(mActor.Animations[19]));

            b.GroundPos = GroundPos;
            Frostbyte.Characters.Mage.UnlockedSpells = Spells.EarthOne;
            (This.Game.CurrentLevel as FrostbyteLevel).HUD.ScrollText("You feel the strength of the earth rush in through your feet.\n\nHold down the Left trigger and press A (gamepad) S (keyboard) and then release the trigger to cast an earth spell!\n\nUse RB (gamepad) or E (keyboard) or to target an enemy and LB or Q to target an ally.");
            base.Die();
        }
Beispiel #7
0
 internal void Open()
 {
     This.Game.AudioManager.PlaySoundEffect("Effects/Door_Open");
     This.Game.CurrentLevel.RemoveSprite(this);
     FrostbyteLevel l = (This.Game.CurrentLevel as FrostbyteLevel);
     if (l != null)
     {
         l.obstacles.Remove(this);
         BossDeath b = new BossDeath("door_die", new Actor(l.GetAnimation("door.anim")));
         b.GroundPos = GroundPos;
     }
 }
Beispiel #8
0
        internal void Open()
        {
            This.Game.AudioManager.PlaySoundEffect("Effects/Door_Open");
            This.Game.CurrentLevel.RemoveSprite(this);
            FrostbyteLevel l = (This.Game.CurrentLevel as FrostbyteLevel);

            if (l != null)
            {
                l.obstacles.Remove(this);
                BossDeath b = new BossDeath("door_die", new Actor(l.GetAnimation("door.anim")));
                b.GroundPos = GroundPos;
            }
        }
Beispiel #9
0
        protected override void Die()
        {
            int ix = 14;

            switch (Orientation)
            {
            case Orientations.Down:
                ix = 14;
                break;

            case Orientations.Down_Left:
                ix = 15;
                break;

            case Orientations.Down_Right:
                ix = 15;
                break;

            case Orientations.Left:
                ix = 16;
                break;

            case Orientations.Right:
                ix = 16;
                break;

            case Orientations.Up_Left:
                ix = 17;
                break;

            case Orientations.Up_Right:
                ix = 17;
                break;

            case Orientations.Up:
                ix = 18;
                break;
            }

            BossDeath b = new BossDeath("die", new Actor(mActor.Animations[ix]));

            b.GroundPos = GroundPos;
            b.Scale     = 1.25f;
            base.Die();
        }
Beispiel #10
0
 /// <summary>
 /// dies
 /// </summary>
 protected override void Die()
 {
     BossDeath b = new BossDeath("die", new Actor(mActor.Animations[25]));
     b.GroundPos = GroundPos;
     base.Die();
 }
Beispiel #11
0
        protected override void Die()
        {
            int ix = 14;
            switch (Orientation)
            {
                case Orientations.Down:
                    ix = 14;
                    break;
                case Orientations.Down_Left:
                    ix = 15;
                    break;
                case Orientations.Down_Right:
                    ix = 15;
                    break;
                case Orientations.Left:
                    ix = 16;
                    break;
                case Orientations.Right:
                    ix = 16;
                    break;
                case Orientations.Up_Left:
                    ix = 17;
                    break;
                case Orientations.Up_Right:
                    ix = 17;
                    break;
                case Orientations.Up:
                    ix = 18;
                    break;
            }

            BossDeath b = new BossDeath("die", new Actor(mActor.Animations[ix]));
            b.GroundPos = GroundPos;
            b.Scale = 1.25f;
            base.Die();
        }