dtw小程序按key音改成锁定音
This commit is contained in:
@@ -207,7 +207,7 @@ local function touch(n)
|
|||||||
t=t:sub(1,p-1)..t:sub(p+1)
|
t=t:sub(1,p-1)..t:sub(p+1)
|
||||||
if #t>0 then
|
if #t>0 then
|
||||||
pos[1]=tonumber(t)
|
pos[1]=tonumber(t)
|
||||||
SFX.play('move')
|
SFX.play('lock')
|
||||||
else
|
else
|
||||||
rem(pos,1)
|
rem(pos,1)
|
||||||
while #pos<7 do generator[mode]()end
|
while #pos<7 do generator[mode]()end
|
||||||
@@ -228,7 +228,7 @@ local function touch(n)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
height=height+120
|
height=height+120
|
||||||
SFX.play('move')
|
SFX.play('lock')
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
time=TIME()-startTime
|
time=TIME()-startTime
|
||||||
|
|||||||
Reference in New Issue
Block a user