mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 16:57:39 +02:00
Auto-Swing (#827)
* BurstLinq make BGM resync when changing pitch (to test) * autoswing some game implementations, most games already work fine * more game tweaks * 16th note swing more game fixes make pitch change resync optional in the API * suppress some common warnings * Update Credits.txt
This commit is contained in:
@ -68,7 +68,7 @@ namespace HeavenStudio.Games.Scripts_SeeSaw
|
||||
{
|
||||
var cond = Conductor.instance;
|
||||
|
||||
double currentBeat = cond.songPositionInBeatsAsDouble;
|
||||
double currentBeat = cond.unswungSongPositionInBeatsAsDouble;
|
||||
|
||||
if (cond.isPlaying && !cond.isPaused)
|
||||
{
|
||||
@ -299,7 +299,7 @@ namespace HeavenStudio.Games.Scripts_SeeSaw
|
||||
{
|
||||
lastState = currentState;
|
||||
currentState = state;
|
||||
startBeat = beat;
|
||||
startBeat = Conductor.instance.GetUnSwungBeat(beat);
|
||||
heightLastFrame = 0;
|
||||
hasChangedAnimMidAir = false;
|
||||
switch (currentState)
|
||||
|
Reference in New Issue
Block a user