From 370d9f8f6a0855ace3b5e62e29f8ee757faa8929 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 3 Jan 2022 23:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BD=A8=E9=81=93=E9=9F=B3?= =?UTF-8?q?=E7=AC=A6dx=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/track.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parts/track.lua b/parts/track.lua index 617759e..3a18f81 100644 --- a/parts/track.lua +++ b/parts/track.lua @@ -266,6 +266,8 @@ function Track:draw(map) local trackW=50*s.kx*SETTING.trackW local ky=s.ky + local noteDX,noteDY=SETTING.scaleX,s.ky*s.dropSpeed/50 + --Available indicator for testing -- gc_setColor(1,1,1) -- gc.setLineWidth(2) @@ -318,8 +320,8 @@ function Track:draw(map) end end - local dx=listLerp(note.xOffset,1-timeRemain/2.6) - local dy=listLerp(note.yOffset,1-timeRemain/2.6) + local dx=listLerp(note.xOffset,1-timeRemain/2.6)*noteDX + local dy=listLerp(note.yOffset,1-timeRemain/2.6)*noteDY gc_translate(dx,dy) if note.type=='tap'then