das系统微调,按反方向移动不再彻底切断原方向键

This commit is contained in:
MrZ626
2021-01-27 23:36:09 +08:00
parent 625d457517
commit 14bd90bf75

View File

@@ -222,6 +222,12 @@ local function update_alive(P,dt)
mov=mov+1
end
P.moving=mov
elseif P.keyPressing[1]then
P.movDir=-1
P.moving=0
elseif P.keyPressing[2]then
P.movDir=1
P.moving=0
end
--Drop pressed