Hitting the "f" key during a replay changes the playback speed.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-08-28 19:41:02 -05:00
parent f773a8ecf8
commit c4f54ecc05

View File

@ -928,6 +928,13 @@ public class Game extends BasicGameState {
} }
} }
break; break;
case Input.KEY_F:
// change playback speed
if (isReplay || GameMod.AUTO.isActive()) {
playbackSpeed = playbackSpeed.next();
MusicController.setPitch(GameMod.getSpeedMultiplier() * playbackSpeed.getModifier());
}
break;
case Input.KEY_UP: case Input.KEY_UP:
UI.changeVolume(1); UI.changeVolume(1);
break; break;