xOy变量收入SCR

This commit is contained in:
MrZ626
2020-11-10 10:43:10 +08:00
parent 7b49053e6d
commit 9410b320d4
6 changed files with 18 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ function touchMove.play()
for n=1,#VK do
local B=VK[n]
for i=1,#l do
local x,y=xOy:inverseTransformPoint(tc.getPosition(l[i]))
local x,y=SCR.xOy:inverseTransformPoint(tc.getPosition(l[i]))
if(x-B.x)^2+(y-B.y)^2<=B.r^2 then
goto next
end