modcharts

This commit is contained in:
KadeDev
2021-04-15 11:09:46 -07:00
parent e92d286405
commit fec5fa33c2
10 changed files with 959 additions and 31 deletions

View File

@ -1,5 +1,6 @@
package;
import flixel.addons.effects.FlxSkewedSprite;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.graphics.frames.FlxAtlasFrames;
@ -11,7 +12,7 @@ import polymod.format.ParseRules.TargetSignatureElement;
using StringTools;
class Note extends FlxSprite
class Note extends FlxSkewedSprite
{
public var strumTime:Float = 0;
@ -21,7 +22,7 @@ class Note extends FlxSprite
public var tooLate:Bool = false;
public var wasGoodHit:Bool = false;
public var prevNote:Note;
public var modifiedByLua:Bool = false;
public var sustainLength:Float = 0;
public var isSustainNote:Bool = false;
@ -172,7 +173,7 @@ class Note extends FlxSprite
prevNote.animation.play('redhold');
}
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.8 * FlxG.save.data.scrollSpeed;
prevNote.scale.y *= Conductor.stepCrochet / 50 * 1.5 * FlxG.save.data.scrollSpeed;
prevNote.updateHitbox();
// prevNote.setGraphicSize();
}