minor bug fixes
This commit is contained in:
parent
fbb82cc5b3
commit
31eb8a7876
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -105,7 +105,7 @@ Material:
|
|||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _ClipRect: {r: -10, g: -10, b: -7, a: 10}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
|
|
|
@ -105,7 +105,7 @@ Material:
|
|||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -7.540926, a: 10}
|
||||
- _ClipRect: {r: -10, g: -10, b: -8.370649, a: 10}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7098,7 +7098,6 @@ MonoBehaviour:
|
|||
DarkPlane: {fileID: 8600589182512249935}
|
||||
Player: {fileID: 8728714290611780215}
|
||||
Judge: {fileID: 7587793407961933664}
|
||||
JudgeFace: {fileID: 0}
|
||||
CPU1: {fileID: 9028841130226857946}
|
||||
CPU2: {fileID: 395900234149378562}
|
||||
CPU3: {fileID: 6515992849541950419}
|
||||
|
|
|
@ -14,8 +14,8 @@ RenderTexture:
|
|||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 5
|
||||
m_Width: 1214
|
||||
m_Height: 683
|
||||
m_Width: 1920
|
||||
m_Height: 1080
|
||||
m_AntiAliasing: 2
|
||||
m_MipCount: -1
|
||||
m_DepthStencilFormat: 92
|
||||
|
|
|
@ -14,8 +14,8 @@ RenderTexture:
|
|||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 5
|
||||
m_Width: 1821
|
||||
m_Height: 1024
|
||||
m_Width: 2880
|
||||
m_Height: 1620
|
||||
m_AntiAliasing: 1
|
||||
m_MipCount: -1
|
||||
m_DepthStencilFormat: 92
|
||||
|
|
|
@ -8906,7 +8906,7 @@ MonoBehaviour:
|
|||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 4.35
|
||||
m_fontSize: 14
|
||||
m_fontSizeBase: 14.3
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 1
|
||||
|
@ -26851,7 +26851,7 @@ MonoBehaviour:
|
|||
m_HandleRect: {fileID: 1589389271}
|
||||
m_Direction: 2
|
||||
m_Value: 1
|
||||
m_Size: 0.24080037
|
||||
m_Size: 0.4422289
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
@ -32707,7 +32707,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 44.075172}
|
||||
m_AnchoredPosition: {x: 0, y: 199.00056}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &1154875945
|
||||
|
@ -43455,8 +43455,8 @@ MonoBehaviour:
|
|||
m_TargetGraphic: {fileID: 1220118245}
|
||||
m_HandleRect: {fileID: 1220118244}
|
||||
m_Direction: 2
|
||||
m_Value: 1.0000001
|
||||
m_Size: 0
|
||||
m_Value: 1
|
||||
m_Size: 1
|
||||
m_NumberOfSteps: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
|
@ -172,7 +172,9 @@ namespace HeavenStudio.Games
|
|||
string prefix;
|
||||
double beatUniversal;
|
||||
string suffix;
|
||||
bool goBop;
|
||||
bool goBopDonpans;
|
||||
bool goBopJudge;
|
||||
bool bopDonpans;
|
||||
string originalText1;
|
||||
string originalText2;
|
||||
string originalText3;
|
||||
|
@ -281,7 +283,7 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (PlayerInput.GetIsAction(BonOdori.InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress)){
|
||||
ScoreMiss();
|
||||
SoundByte.PlayOneShot("miss");
|
||||
SoundByte.PlayOneShotGame("bonOdori/clap");
|
||||
|
||||
|
||||
|
||||
|
@ -303,64 +305,52 @@ namespace HeavenStudio.Games
|
|||
|
||||
switch (typeSpeak){
|
||||
case 0:
|
||||
ScheduleInput(beat, 0f, InputAction_BasicPress, Success, Miss, Empty);
|
||||
|
||||
switch (variation){
|
||||
case 0:
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pan1", beat, offset: 0.01f)});
|
||||
|
||||
SoundByte.PlayOneShotGame("bonOdori/pan1");
|
||||
break;
|
||||
case 1:
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pan2", beat, offset: 0.01f)});
|
||||
break;
|
||||
SoundByte.PlayOneShotGame("bonOdori/pan2"); break;
|
||||
case 2:
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pan3", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/pan3");
|
||||
break;}
|
||||
break;
|
||||
case 2:
|
||||
ScheduleInput(beat,0f, InputAction_BasicPress, Success, Miss, Empty);
|
||||
|
||||
switch (variation){
|
||||
case 0:
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pa_n1", beat, offset: 0.01f)});
|
||||
|
||||
SoundByte.PlayOneShotGame("bonOdori/pa_n1");
|
||||
break;
|
||||
case 1:
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pa_n2", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/pa_n2");
|
||||
break;}
|
||||
break;
|
||||
case 1:
|
||||
ScheduleInput(beat, 0f, InputAction_BasicPress, Success, Miss, Empty);
|
||||
MultiSound.Play(new MultiSound.Sound[]{
|
||||
new MultiSound.Sound("bonOdori/pa1", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/pa1");
|
||||
break;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
beatUniversal = beat;
|
||||
|
||||
|
||||
|
||||
}}}
|
||||
ScheduleInput(beat, 0f, InputAction_BasicPress, Success, Miss, Empty);}}
|
||||
public void Sound(double beat, int variation, int typeSpeak )
|
||||
{ switch (typeSpeak){
|
||||
case 0:
|
||||
switch (variation){
|
||||
case 0:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/don1", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/don1");
|
||||
break;
|
||||
case 1:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/don2", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/don2");
|
||||
break;
|
||||
case 2:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/don3", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/don3");
|
||||
break;
|
||||
case 3:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/don4", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/don4");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -370,12 +360,10 @@ namespace HeavenStudio.Games
|
|||
|
||||
switch (variation) {
|
||||
case 0:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/do_n1", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/do_n1");
|
||||
break;
|
||||
case 1:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/do_n2", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/do_n2");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -383,12 +371,10 @@ namespace HeavenStudio.Games
|
|||
case 1:
|
||||
switch (variation){
|
||||
case 0:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/do1", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/do1");
|
||||
break;
|
||||
case 1:
|
||||
MultiSound.Play(new MultiSound.Sound[] {
|
||||
new MultiSound.Sound("bonOdori/do2", beat, offset: 0.01f)});
|
||||
SoundByte.PlayOneShotGame("bonOdori/do2");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -570,8 +556,10 @@ namespace HeavenStudio.Games
|
|||
|
||||
public void Bop(double beat, float length, bool shouldBop, bool autoBop)
|
||||
{
|
||||
if (!shouldBop) { goBop = false; return; }
|
||||
goBop = autoBop;
|
||||
if (!shouldBop) { goBopDonpans = false; goBopJudge = false; return; }
|
||||
goBopDonpans = autoBop;
|
||||
goBopJudge = autoBop;
|
||||
if (autoBop) { return;}
|
||||
if (shouldBop)
|
||||
{
|
||||
for (int i = 0; i < length; i++)
|
||||
|
@ -586,6 +574,15 @@ namespace HeavenStudio.Games
|
|||
CPU3.Play("Bop");
|
||||
Judge.Play("Bop");
|
||||
|
||||
}),
|
||||
new BeatAction.Action(beat + length, delegate
|
||||
{
|
||||
Player.Play("NeutralBopped");
|
||||
CPU1.Play("NeutralBopped");
|
||||
CPU2.Play("NeutralBopped");
|
||||
CPU3.Play("NeutralBopped");
|
||||
|
||||
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -596,14 +593,22 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
public void Bow(double beat, float length)
|
||||
{
|
||||
goBop = false;
|
||||
if (goBopDonpans == true)
|
||||
{
|
||||
bopDonpans = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
bopDonpans = false;
|
||||
}
|
||||
goBopDonpans = false;
|
||||
Player.Play("Bow");
|
||||
CPU1.Play("Bow");
|
||||
CPU2.Play("Bow");
|
||||
CPU3.Play("Bow");
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beat + length, delegate { Player.Play("NeutralBopped"); CPU1.Play("NeutralBopped");CPU2.Play("NeutralBopped"); CPU3.Play("NeutralBopped");})
|
||||
new BeatAction.Action(beat + length, delegate { Player.Play("NeutralBopped"); CPU1.Play("NeutralBopped");CPU2.Play("NeutralBopped"); CPU3.Play("NeutralBopped"); if (bopDonpans) {goBopDonpans = true;}})
|
||||
});
|
||||
}
|
||||
public void Spin(double beat, float length)
|
||||
|
@ -613,15 +618,18 @@ namespace HeavenStudio.Games
|
|||
|
||||
public override void OnBeatPulse(double beat)
|
||||
{
|
||||
if (goBop)
|
||||
if (goBopDonpans)
|
||||
{
|
||||
Player.Play("Bop");
|
||||
CPU1.Play("Bop");
|
||||
CPU2.Play("Bop");
|
||||
CPU3.Play("Bop");
|
||||
Judge.Play("Bop");
|
||||
|
||||
}
|
||||
if (goBopJudge)
|
||||
{
|
||||
Judge.Play("Bop");
|
||||
}
|
||||
}
|
||||
public void DarkBG(double beat, bool toggle)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue