Added Cooking Pot, Alien, and Pot hit stars

This commit is contained in:
Carson Kompon
2022-03-02 23:04:11 -05:00
parent 197332c2a5
commit 752307fa64
6 changed files with 275 additions and 7 deletions

View File

@ -14,7 +14,9 @@ namespace RhythmHeavenMania.Games.KarateMan
Pot = 0,
Rock = 2,
Ball = 3,
TacoBell = 6
CookingPot = 7,
Alien = 8,
TacoBell = 6,
}
public enum LightBulbType
@ -65,6 +67,7 @@ namespace RhythmHeavenMania.Games.KarateMan
public Sprite[] ObjectSprites;
public Sprite[] BarrelSprites;
public Sprite[] CookingPotSprites;
public List<BGSpriteC> BGSprites;
public SpriteRenderer BGSprite;
@ -84,6 +87,8 @@ namespace RhythmHeavenMania.Games.KarateMan
private float bgBeat;
public ParticleSystem potHitEffect;
public GameObject comboRef;
public GameObject HIT3Ref;
@ -210,9 +215,26 @@ namespace RhythmHeavenMania.Games.KarateMan
});
break;
case 6:
outSnd = "karateman/objectOut";
if (Starpelly.Mathp.GetDecimalFromFloat(beat) == 0f)
outSnd = "karateman/objectOut";
else
outSnd = "karateman/offbeatObjectOut";
p.hitSnd = "karateman/tacobell";
break;
case 7:
if (Starpelly.Mathp.GetDecimalFromFloat(beat) == 0f)
outSnd = "karateman/objectOut";
else
outSnd = "karateman/offbeatObjectOut";
p.hitSnd = "karateman/cookingPot";
break;
case 8:
if (Starpelly.Mathp.GetDecimalFromFloat(beat) == 0f)
outSnd = "karateman/objectOut";
else
outSnd = "karateman/offbeatObjectOut";
p.hitSnd = "karateman/alienHit";
break;
}
p.endShadowThrowPos = new Vector2(-1.036f, -2.822f);