chagne quadr bez setting sensitivity

This commit is contained in:
yugecin 2016-12-04 13:54:26 +01:00
parent 27be84e99a
commit e916e73ddb
2 changed files with 8 additions and 3 deletions

View File

@ -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;
}
},

View File

@ -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,