fuck you downscroll note are finally fixed
This commit is contained in:
parent
8796ce1b97
commit
2a7bc51ed5
@ -40,9 +40,6 @@ class Note extends FlxSprite
|
|||||||
if (prevNote == null)
|
if (prevNote == null)
|
||||||
prevNote = this;
|
prevNote = this;
|
||||||
|
|
||||||
if (FlxG.save.data.downscroll)
|
|
||||||
flipY = true;
|
|
||||||
|
|
||||||
this.prevNote = prevNote;
|
this.prevNote = prevNote;
|
||||||
isSustainNote = sustainNote;
|
isSustainNote = sustainNote;
|
||||||
|
|
||||||
@ -74,18 +71,10 @@ class Note extends FlxSprite
|
|||||||
{
|
{
|
||||||
loadGraphic(Paths.image('weeb/pixelUI/arrowEnds'), true, 7, 6);
|
loadGraphic(Paths.image('weeb/pixelUI/arrowEnds'), true, 7, 6);
|
||||||
|
|
||||||
if(!FlxG.save.data.downscroll)
|
|
||||||
{
|
|
||||||
animation.add('purpleholdend', [4]);
|
animation.add('purpleholdend', [4]);
|
||||||
animation.add('greenholdend', [6]);
|
animation.add('greenholdend', [6]);
|
||||||
animation.add('redholdend', [7]);
|
animation.add('redholdend', [7]);
|
||||||
animation.add('blueholdend', [5]);
|
animation.add('blueholdend', [5]);
|
||||||
}else {
|
|
||||||
animation.add('purpleholdend', [4], 0, false, false, true);
|
|
||||||
animation.add('greenholdend', [6], 0, false, false, true);
|
|
||||||
animation.add('redholdend', [7], 0, false, false, true);
|
|
||||||
animation.add('blueholdend', [5], 0, false, false, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setGraphicSize(Std.int(width * PlayState.daPixelZoom));
|
setGraphicSize(Std.int(width * PlayState.daPixelZoom));
|
||||||
@ -104,18 +93,10 @@ class Note extends FlxSprite
|
|||||||
animation.addByPrefix('redhold', 'red hold piece');
|
animation.addByPrefix('redhold', 'red hold piece');
|
||||||
animation.addByPrefix('bluehold', 'blue hold piece');
|
animation.addByPrefix('bluehold', 'blue hold piece');
|
||||||
|
|
||||||
if(!FlxG.save.data.downscroll)
|
|
||||||
{
|
|
||||||
animation.addByPrefix('purpleholdend', 'pruple end hold');
|
animation.addByPrefix('purpleholdend', 'pruple end hold');
|
||||||
animation.addByPrefix('greenholdend', 'green hold end');
|
animation.addByPrefix('greenholdend', 'green hold end');
|
||||||
animation.addByPrefix('redholdend', 'red hold end');
|
animation.addByPrefix('redholdend', 'red hold end');
|
||||||
animation.addByPrefix('blueholdend', 'blue hold end');
|
animation.addByPrefix('blueholdend', 'blue hold end');
|
||||||
}else {
|
|
||||||
animation.addByPrefix('purpleholdend', 'pruple end hold', 0, false, false, true);
|
|
||||||
animation.addByPrefix('greenholdend', 'green hold end', 0, false, false, true);
|
|
||||||
animation.addByPrefix('redholdend', 'red hold end', 0, false, false, true);
|
|
||||||
animation.addByPrefix('blueholdend', 'blue hold end', 0, false, false, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
setGraphicSize(Std.int(width * 0.7));
|
setGraphicSize(Std.int(width * 0.7));
|
||||||
updateHitbox();
|
updateHitbox();
|
||||||
@ -138,6 +119,11 @@ class Note extends FlxSprite
|
|||||||
animation.play('redScroll');
|
animation.play('redScroll');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we make sure its downscroll and its a SUSTAIN NOTE (aka a trail, not a note)
|
||||||
|
// and flip it so it doesn't look weird.
|
||||||
|
// THIS DOESN'T FUCKING FLIP THE NOTE, CONTRIBUTERS DON'T JUST COMMENT THIS OUT JESUS
|
||||||
|
if (FlxG.save.data.downscroll && sustainNote)
|
||||||
|
flipY = true;
|
||||||
|
|
||||||
if (isSustainNote && prevNote != null)
|
if (isSustainNote && prevNote != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user