新tips,修复手机旋屏bug,各种调平,统计数据简化
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user