character scroll changing

This commit is contained in:
WizardMantis441
2023-01-27 11:49:40 -06:00
parent 1d018c9289
commit be7856cc83
+4
View File
@@ -139,6 +139,10 @@ class Stage extends FlxBasic implements IBeatReceiver {
var y:Null<Float> = Std.parseFloat(node.att.camyoffset);
if (y != null) char.cameraOffset.y += y;
}
if (node.has.scroll) {
var scroll:Null<Float> = Std.parseFloat(node.att.scroll);
if (scroll != null) char.scrollFactor.set(scroll, scroll);
}
}
public function beatHit(curBeat:Int) {}