Hitting the "f" key during a replay changes the playback speed.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
f773a8ecf8
commit
c4f54ecc05
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user