新tips,修复手机旋屏bug,各种调平,统计数据简化

This commit is contained in:
MrZ_26
2020-07-19 21:33:03 +08:00
parent 74bc1a2544
commit 60cbc83313
21 changed files with 127 additions and 122 deletions

View File

@@ -1,3 +1,4 @@
local gc=love.graphics
local Tick={}
function Tick.finish(P)
P.endCounter=P.endCounter+1
@@ -69,4 +70,14 @@ function Tick.autoPause(data)
return true
end
end
function Tick.autoResize(data)
data[1]=data[1]+1
if data[1]==62 then
local w,h=gc.getWidth(),gc.getHeight()
if w<h then
love.resize(w,h)
end
return true
end
end
return Tick