0.190719α

This commit is contained in:
MrZ_26
2020-02-04 19:23:19 +08:00
parent 6a80cdc4b9
commit a9cf691247
9 changed files with 323 additions and 218 deletions

View File

@@ -4,7 +4,10 @@ act={
if not ifoverlap(cb,cx-1,cy)then
P.cx=cx-1
freshgho()
P.lockDelay=gameEnv.lock
P.freshTime=P.freshTime+1
if P.freshTime<=gameEnv.freshLimit then
P.lockDelay=gameEnv.lock
end
if cy==y_img then SFX("move")end
end
end,
@@ -13,7 +16,10 @@ act={
if not ifoverlap(cb,cx+1,cy)then
P.cx=cx+1
freshgho()
P.lockDelay=gameEnv.lock
P.freshTime=P.freshTime+1
if P.freshTime<=gameEnv.freshLimit then
P.lockDelay=gameEnv.lock
end
if cy==y_img then SFX("move")end
end
end,
@@ -36,7 +42,9 @@ act={
rotFlip=function()spin(2)end,
hold=hold,
--Player movements
restart=function()
startGame(gamemode)
end,
down1=function()drop()end,
down4=function()for i=1,4 do if cy~=y_img then drop()else break end end end,
toDown=function()P.cy,P.lockDelay=y_img,gameEnv.lock end,