mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:17:37 +02:00
Added Cooking Pot, Alien, and Pot hit stars
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user