Ejemplo n.º 1
0
 /// <summary>
 /// 별도의 판정 절차 없이 MISS 처리하지만, 실제 MISS 값은 가산되지 않습니다.
 /// </summary>
 public void JudgeAsFakeMiss()
 {
     CurCombo = 0;
     ComboValueText.Nuzzle();
     if (HitSound)
     {
         if (Game.Mode.Equals(GameMode.Starlight))
         {
             StarlightBad.Play();
         }
         else
         {
             TapBadSound.Play();
         }
     }
     DecisionText.Wake(0);
 }
Ejemplo n.º 2
0
        private void DecisionProcess(int DecValue, FlickMode Flick)
        {
            int TweakedDec = DecValue;

            if (!AllowTempestic && DecValue.Equals(5))
            {
                TweakedDec--;
            }

            if (TweakedDec < 3)
            {
                CurCombo = 0;
                ComboValueText.Nuzzle();
                if (HitSound)
                {
                    if (Game.Mode.Equals(GameMode.Starlight))
                    {
                        StarlightBad.Play();
                    }
                    else
                    {
                        TapBadSound.Play();
                    }
                }
            }
            else
            {
                CurCombo += 1;
                ComboValueText.Wake(CurCombo);
                Data.TryUpdateCombo(CurCombo);
                if (HitSound)
                {
                    if (Flick.Equals(FlickMode.None))
                    {
                        if (Game.Mode.Equals(GameMode.Starlight))
                        {
                            StarlightTap.Play();
                        }
                        else
                        {
                            TapSound.Play();
                        }
                    }
                    else
                    {
                        if (Game.Mode.Equals(GameMode.Starlight))
                        {
                            StarlightFlick.Play();
                        }
                        else
                        {
                            FlickSound.Play();
                        }
                    }
                }
            }

            switch (TweakedDec)
            {
            case 0:
                break;

            case 1:
                CalculateScore(0.1f, ComboMultilpier());
                break;

            case 2:
                CalculateScore(0.3f, ComboMultilpier());
                break;

            case 3:
                CalculateScore(0.7f, ComboMultilpier());
                break;

            case 4:
                CalculateScore(1.0f, ComboMultilpier());
                break;

            case 5:
                CalculateScore(1.1f, ComboMultilpier());
                break;
            }
            Data.UpdateNote(TweakedDec);
            DecisionText.Wake(TweakedDec);
        }