Add explosion animation and sfx if a bomb is hit
This commit is contained in:
parent
9710bf75f7
commit
80c677dd31
@ -332,6 +332,7 @@ namespace TJAPlayer3
|
||||
public Cシステムサウンド soundEntry = null;
|
||||
public Cシステムサウンド soundError = null;
|
||||
public Cシステムサウンド soundsanka = null;
|
||||
public Cシステムサウンド soundBomb = null;
|
||||
//add
|
||||
public Cシステムサウンド sound曲決定音 = null;
|
||||
public Cシステムサウンド bgmリザルトイン音 = null;
|
||||
@ -708,6 +709,7 @@ namespace TJAPlayer3
|
||||
this.soundEntry = new Cシステムサウンド(@"Sounds\Entry.ogg", true, false, false, ESoundGroup.Voice);
|
||||
this.soundError = new Cシステムサウンド(@"Sounds\Error.ogg", false, false, false, ESoundGroup.SoundEffect);
|
||||
this.soundsanka = new Cシステムサウンド(@"Sounds\sanka.ogg", false, false, false, ESoundGroup.Voice);
|
||||
this.soundBomb = new Cシステムサウンド(@"Sounds\Bomb.ogg", false, false, false, ESoundGroup.SoundEffect);
|
||||
|
||||
//this.soundRed = new Cシステムサウンド( @"Sounds\dong.ogg", false, false, true, ESoundType.SoundEffect );
|
||||
//this.soundBlue = new Cシステムサウンド( @"Sounds\ka.ogg", false, false, true, ESoundType.SoundEffect );
|
||||
|
@ -583,6 +583,8 @@ namespace TJAPlayer3
|
||||
Effects_Hit_FireWorks = TxC(GAME + EFFECTS + @"Hit\FireWorks.png");
|
||||
if (Effects_Hit_FireWorks != null) Effects_Hit_FireWorks.b加算合成 = TJAPlayer3.Skin.Game_Effect_FireWorks_AddBlend;
|
||||
|
||||
Effects_Hit_Bomb = TxCAf(GAME + EFFECTS + @"Hit\Bomb.png");
|
||||
|
||||
|
||||
Effects_Fire = TxC(GAME + EFFECTS + @"Fire.png");
|
||||
if (Effects_Fire != null) Effects_Fire.b加算合成 = TJAPlayer3.Skin.Game_Effect_Fire_AddBlend;
|
||||
@ -1677,6 +1679,7 @@ namespace TJAPlayer3
|
||||
#endregion
|
||||
#region エフェクト
|
||||
public CTexture Effects_Hit_Explosion,
|
||||
Effects_Hit_Bomb,
|
||||
Effects_Hit_Explosion_Big,
|
||||
Effects_Fire,
|
||||
Effects_Rainbow,
|
||||
|
@ -1435,9 +1435,10 @@ namespace TJAPlayer3
|
||||
if (eJudgeResult != E判定.Auto && eJudgeResult != E判定.Miss)
|
||||
{
|
||||
this.actJudgeString.Start(nPlayer, eJudgeResult != E判定.Bad ? E判定.ADLIB : E判定.Bad);
|
||||
eJudgeResult = E判定.Perfect; // Prevent ADLIB notes breaking DFC runs
|
||||
TJAPlayer3.stage演奏ドラム画面.actLaneTaiko.Start(0x11, eJudgeResult, true, nPlayer);
|
||||
TJAPlayer3.stage演奏ドラム画面.actChipFireD.Start(0x11, eJudgeResult, nPlayer);
|
||||
eJudgeResult = E判定.Perfect; // Prevent ADLIB notes breaking DFC runs
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -1446,10 +1447,11 @@ namespace TJAPlayer3
|
||||
if (eJudgeResult != E判定.Auto && eJudgeResult != E判定.Miss)
|
||||
{
|
||||
this.actJudgeString.Start(nPlayer, eJudgeResult != E判定.Bad ? E判定.Mine : E判定.Bad);
|
||||
TJAPlayer3.stage演奏ドラム画面.actLaneTaiko.Start(0x11, eJudgeResult, true, nPlayer);
|
||||
TJAPlayer3.stage演奏ドラム画面.actChipFireD.Start(0x11, eJudgeResult, nPlayer);
|
||||
bBombHit = true;
|
||||
eJudgeResult = E判定.Bad;
|
||||
TJAPlayer3.stage演奏ドラム画面.actLaneTaiko.Start(0x11, eJudgeResult, true, nPlayer);
|
||||
TJAPlayer3.stage演奏ドラム画面.actChipFireD.Start(0x11, E判定.Mine, nPlayer);
|
||||
TJAPlayer3.Skin.soundBomb?.t再生する();
|
||||
actGauge.MineDamage(nPlayer);
|
||||
}
|
||||
break;
|
||||
|
@ -282,6 +282,9 @@ namespace TJAPlayer3
|
||||
else
|
||||
TJAPlayer3.Tx.Effects_Hit_Explosion.t2D描画(TJAPlayer3.app.Device, nX, nY, new Rectangle(this.st状態[i].ct進行.n現在の値 * 260, n + 260, 260, 260));
|
||||
break;
|
||||
case E判定.Mine:
|
||||
TJAPlayer3.Tx.Effects_Hit_Bomb?.t2D描画(TJAPlayer3.app.Device, nX, nY, new Rectangle(this.st状態[i].ct進行.n現在の値 * 260, 0, 260, 260));
|
||||
break;
|
||||
case E判定.Miss:
|
||||
case E判定.Bad:
|
||||
break;
|
||||
|
BIN
Test/System/SimpleStyle/Graphics/5_Game/10_Effects/Hit/Bomb.png
Normal file
BIN
Test/System/SimpleStyle/Graphics/5_Game/10_Effects/Hit/Bomb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
Test/System/SimpleStyle/Sounds/Bomb.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Bomb.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user