commit
This commit is contained in:
parent
7d892e41ef
commit
f626edc7ad
@ -143,28 +143,37 @@ class OptionsMenu extends MusicBeatState
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
if (FlxG.keys.pressed.SHIFT)
|
if (FlxG.keys.pressed.SHIFT)
|
||||||
if (FlxG.keys.pressed.RIGHT)
|
{
|
||||||
FlxG.save.data.offset += 1;
|
if (FlxG.keys.justPressed.RIGHT)
|
||||||
else if (FlxG.keys.pressed.LEFT)
|
|
||||||
FlxG.save.data.offset -= 1;
|
|
||||||
else if (controls.RIGHT_P)
|
|
||||||
FlxG.save.data.offset += 0.1;
|
FlxG.save.data.offset += 0.1;
|
||||||
else if (controls.LEFT_P)
|
else if (FlxG.keys.justPressed.LEFT)
|
||||||
|
FlxG.save.data.offset -= 0.1;
|
||||||
|
}
|
||||||
|
else if (FlxG.keys.pressed.RIGHT)
|
||||||
|
FlxG.save.data.offset += 0.1;
|
||||||
|
else if (FlxG.keys.pressed.LEFT)
|
||||||
FlxG.save.data.offset -= 0.1;
|
FlxG.save.data.offset -= 0.1;
|
||||||
|
|
||||||
versionShit.text = "Offset (Left, Right): " + truncateFloat(FlxG.save.data.offset,2) + " - Description - " + currentDescription;
|
versionShit.text = "Offset (Left, Right, Shift for slow): " + truncateFloat(FlxG.save.data.offset,2) + " - Description - " + currentDescription;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (FlxG.keys.pressed.RIGHT)
|
if (FlxG.keys.pressed.SHIFT)
|
||||||
FlxG.save.data.offset+= 0.01;
|
{
|
||||||
|
if (FlxG.keys.justPressed.RIGHT)
|
||||||
if (FlxG.keys.pressed.LEFT)
|
FlxG.save.data.offset += 0.1;
|
||||||
FlxG.save.data.offset-= 0.01;
|
else if (FlxG.keys.justPressed.LEFT)
|
||||||
|
FlxG.save.data.offset -= 0.1;
|
||||||
|
}
|
||||||
|
else if (FlxG.keys.pressed.RIGHT)
|
||||||
|
FlxG.save.data.offset += 0.1;
|
||||||
|
else if (FlxG.keys.pressed.LEFT)
|
||||||
|
FlxG.save.data.offset -= 0.1;
|
||||||
|
|
||||||
versionShit.text = "Offset (Left, Right): " + truncateFloat(FlxG.save.data.offset,2) + " - Description - " + currentDescription;
|
versionShit.text = "Offset (Left, Right, Shift for slow): " + truncateFloat(FlxG.save.data.offset,2) + " - Description - " + currentDescription;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -222,7 +231,7 @@ class OptionsMenu extends MusicBeatState
|
|||||||
currentDescription = currentSelectedCat.getOptions()[curSelected].getDescription();
|
currentDescription = currentSelectedCat.getOptions()[curSelected].getDescription();
|
||||||
else
|
else
|
||||||
currentDescription = "Please select a catagory";
|
currentDescription = "Please select a catagory";
|
||||||
versionShit.text = "Offset (Left, Right): " + FlxG.save.data.offset + " - Description - " + currentDescription;
|
versionShit.text = "Offset (Left, Right, Shift for slow): " + truncateFloat(FlxG.save.data.offset,2) + " - Description - " + currentDescription;
|
||||||
|
|
||||||
// selector.y = (70 * curSelected) + 30;
|
// selector.y = (70 * curSelected) + 30;
|
||||||
|
|
||||||
|
@ -2191,7 +2191,7 @@ class PlayState extends MusicBeatState
|
|||||||
ss = false;
|
ss = false;
|
||||||
shits++;
|
shits++;
|
||||||
if (FlxG.save.data.accuracyMod == 0)
|
if (FlxG.save.data.accuracyMod == 0)
|
||||||
totalNotesHit--;
|
totalNotesHit += 0.25;
|
||||||
case 'bad':
|
case 'bad':
|
||||||
daRating = 'bad';
|
daRating = 'bad';
|
||||||
score = 0;
|
score = 0;
|
||||||
@ -2199,7 +2199,7 @@ class PlayState extends MusicBeatState
|
|||||||
ss = false;
|
ss = false;
|
||||||
bads++;
|
bads++;
|
||||||
if (FlxG.save.data.accuracyMod == 0)
|
if (FlxG.save.data.accuracyMod == 0)
|
||||||
totalNotesHit += 0.25;
|
totalNotesHit += 0.50;
|
||||||
case 'good':
|
case 'good':
|
||||||
daRating = 'good';
|
daRating = 'good';
|
||||||
score = 200;
|
score = 200;
|
||||||
@ -2208,7 +2208,7 @@ class PlayState extends MusicBeatState
|
|||||||
if (health < 2)
|
if (health < 2)
|
||||||
health += 0.04;
|
health += 0.04;
|
||||||
if (FlxG.save.data.accuracyMod == 0)
|
if (FlxG.save.data.accuracyMod == 0)
|
||||||
totalNotesHit += 0.50;
|
totalNotesHit += 0.75;
|
||||||
case 'sick':
|
case 'sick':
|
||||||
if (health < 2)
|
if (health < 2)
|
||||||
health += 0.1;
|
health += 0.1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user