示例#1
0
文件: Mage.cs 项目: nemec/4Realms
        /// <summary>
        /// dies
        /// </summary>
        protected override void Die()
        {
            BossDeath b = new BossDeath("die", new Actor(mActor.Animations[25]));

            b.GroundPos = GroundPos;
            base.Die();
        }
示例#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();
 }
示例#3
0
文件: Worm.cs 项目: nemec/4Realms
 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();
 }
示例#4
0
文件: FireMan.cs 项目: nemec/4Realms
        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();
        }
示例#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();
        }
示例#6
0
文件: Worm.cs 项目: nemec/4Realms
        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();
        }
示例#7
0
文件: Door.cs 项目: nemec/4Realms
 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;
     }
 }
示例#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;
            }
        }
示例#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();
        }
示例#10
0
文件: Mage.cs 项目: nemec/4Realms
 /// <summary>
 /// dies
 /// </summary>
 protected override void Die()
 {
     BossDeath b = new BossDeath("die", new Actor(mActor.Animations[25]));
     b.GroundPos = GroundPos;
     base.Die();
 }
示例#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();
        }