From e916e73ddbd7269750c742f07854cacebdac22cc Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 4 Dec 2016 13:54:26 +0100 Subject: [PATCH] chagne quadr bez setting sensitivity --- src/itdelatrisu/opsu/Options.java | 9 +++++++-- src/itdelatrisu/opsu/states/OptionsMenu.java | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/itdelatrisu/opsu/Options.java b/src/itdelatrisu/opsu/Options.java index b7a78f5a..f4764165 100644 --- a/src/itdelatrisu/opsu/Options.java +++ b/src/itdelatrisu/opsu/Options.java @@ -625,7 +625,12 @@ public class Options { } }, - DANCE_QUAD_BEZ_AGRESSIVE ("Quadratic Bezier aggressiveness", "QuadBezAgr", "AKA initial D factor", 500, 0, 2000) { + DANCE_QUAD_BEZ_AGGRESSIVENESS ("Quadratic Bezier aggressiveness", "QuadBezAgr", "AKA initial D factor", 50, 0, 200) { + @Override + public String getValueString() { + return val + ""; + } + @Override public boolean showCondition() { return Dancer.moverFactories[Dancer.instance.getMoverFactoryIndex()] instanceof QuadraticBezierMoverFactory; @@ -634,7 +639,7 @@ public class Options { @Override public void read(String s) { super.read(s); - QuadraticBezierMover.aggressiveness = val / 10; + QuadraticBezierMover.aggressiveness = val; } }, diff --git a/src/itdelatrisu/opsu/states/OptionsMenu.java b/src/itdelatrisu/opsu/states/OptionsMenu.java index 60196f92..c26265ec 100644 --- a/src/itdelatrisu/opsu/states/OptionsMenu.java +++ b/src/itdelatrisu/opsu/states/OptionsMenu.java @@ -113,7 +113,7 @@ public class OptionsMenu extends BasicGameState { }), DANCE ("Dance", new GameOption[] { GameOption.DANCE_MOVER, - GameOption.DANCE_QUAD_BEZ_AGRESSIVE, + GameOption.DANCE_QUAD_BEZ_AGGRESSIVENESS, GameOption.DANCE_MOVER_DIRECTION, GameOption.DANCE_SLIDER_MOVER_TYPE, GameOption.DANCE_SPINNER,