diff --git a/source/funkin/game/HudCamera.hx b/source/funkin/game/HudCamera.hx index 0d7402977..50805d0c7 100644 --- a/source/funkin/game/HudCamera.hx +++ b/source/funkin/game/HudCamera.hx @@ -11,27 +11,10 @@ class HudCamera extends FlxCamera { * Keeps the sprites not flipped, but the positions are flipped. */ public var downscroll:Bool = false; - //public override function update(elapsed:Float) { - // super.update(elapsed); - // // flipY = downscroll; - //} - - - // public override function drawPixels(?frame:FlxFrame, ?pixels:BitmapData, matrix:FlxMatrix, ?transform:ColorTransform, ?blend:BlendMode, ?smoothing:Bool = false, - // ?shader:FlxShader):Void - // { - // if (downscroll) { - // matrix.scale(1, -1); - // matrix.translate(0, height); - // } - // super.drawPixels(frame, pixels, matrix, transform, blend, smoothing, shader); - // } - - public override function alterScreenPosition(spr:FlxObject, pos:FlxPoint) { if (downscroll) { pos.set(pos.x, height - pos.y - spr.height); } return pos; } -} \ No newline at end of file +}