I hate contributers.
This commit is contained in:
parent
799853f4e2
commit
524ee455fc
@ -24,20 +24,8 @@ class OptionsMenu extends MusicBeatState
|
|||||||
var versionShit:FlxText;
|
var versionShit:FlxText;
|
||||||
override function create()
|
override function create()
|
||||||
{
|
{
|
||||||
if (FlxG.save.data.newInput == null)
|
|
||||||
FlxG.save.data.newInput = true;
|
|
||||||
|
|
||||||
if (FlxG.save.data.downscroll == null)
|
|
||||||
FlxG.save.data.downscroll = false;
|
|
||||||
|
|
||||||
if (FlxG.save.data.dfjk == null)
|
|
||||||
FlxG.save.data.dfjk = false;
|
|
||||||
|
|
||||||
if (FlxG.save.data.accuracyDisplay == null)
|
|
||||||
FlxG.save.data.accuracyDisplay = true;
|
|
||||||
|
|
||||||
var menuBG:FlxSprite = new FlxSprite().loadGraphic(Paths.image('menuDesat'));
|
var menuBG:FlxSprite = new FlxSprite().loadGraphic(Paths.image('menuDesat'));
|
||||||
controlsStrings = CoolUtil.coolStringFile((FlxG.save.data.dfjk ? 'DFJK' : 'WASD') + "\n" + (FlxG.save.data.newInput ? "New input" : "Old Input") + "\n" + (FlxG.save.data.downscroll ? 'Downscroll' : 'Upscroll') + "\nToggle accuracy display " + (FlxG.save.data.accuracyDisplay ? "off" : "on") + "\nLoad replays");
|
controlsStrings = CoolUtil.coolStringFile((FlxG.save.data.dfjk ? 'DFJK' : 'WASD') + "\n" + (FlxG.save.data.newInput ? "New input" : "Old Input") + "\n" + (FlxG.save.data.downscroll ? 'Downscroll' : 'Upscroll') + "\nAccuracy " + (FlxG.save.data.accuracyDisplay ? "off" : "on") + "\nLoad replays");
|
||||||
|
|
||||||
trace(controlsStrings);
|
trace(controlsStrings);
|
||||||
|
|
||||||
@ -124,7 +112,7 @@ class OptionsMenu extends MusicBeatState
|
|||||||
grpControls.add(ctrl);
|
grpControls.add(ctrl);
|
||||||
case 3:
|
case 3:
|
||||||
FlxG.save.data.accuracyDisplay = !FlxG.save.data.accuracyDisplay;
|
FlxG.save.data.accuracyDisplay = !FlxG.save.data.accuracyDisplay;
|
||||||
var ctrl:Alphabet = new Alphabet(0, (70 * curSelected) + 30, "Toggle accuracy display " + (FlxG.save.data.accuracyDisplay ? "off" : "on"), true, false);
|
var ctrl:Alphabet = new Alphabet(0, (70 * curSelected) + 30, "Accuracy " + (FlxG.save.data.accuracyDisplay ? "off" : "on"), true, false);
|
||||||
ctrl.isMenuItem = true;
|
ctrl.isMenuItem = true;
|
||||||
ctrl.targetY = curSelected - 3;
|
ctrl.targetY = curSelected - 3;
|
||||||
grpControls.add(ctrl);
|
grpControls.add(ctrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user