mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
Timing Window Improvements (#199)
* implement a fix for #196 - improve checking for unwanted inputs in minigame scripts, see Fan Club, Karate Man, and Pajama Party for examples - provisionally implemented calculating average player input offset * update samurai slice ds to new assets implement near miss feedback * import new pajama party assets
This commit is contained in:
@ -99,7 +99,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
||||
{
|
||||
if (PlayerInput.Pressed())
|
||||
{
|
||||
if (!FanClub.instance.IsExpectingInputNow())
|
||||
if (!FanClub.instance.IsExpectingInputNow(InputType.STANDARD_DOWN))
|
||||
{
|
||||
ClapStart(false);
|
||||
}
|
||||
@ -115,7 +115,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
|
||||
}
|
||||
if (PlayerInput.PressedUp())
|
||||
{
|
||||
if (clappingStartTime != Single.MinValue && cond.songPositionInBeats > clappingStartTime + 2f && stopCharge && !FanClub.instance.IsExpectingInputNow())
|
||||
if (clappingStartTime != Single.MinValue && cond.songPositionInBeats > clappingStartTime + 2f && stopCharge && !FanClub.instance.IsExpectingInputNow(InputType.STANDARD_UP))
|
||||
{
|
||||
JumpStart(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user