主循环时序调整,不知道会不会提速

This commit is contained in:
MrZ626
2020-11-18 23:32:36 +08:00
parent 402636f70c
commit 50193ab149

View File

@@ -516,9 +516,10 @@ function love.run()
FCT=FCT+SETTING.frameMul
if FCT>=100 then
FCT=FCT-100
DISCARD()--SPEED UPUPUP!
--Draw background
BG.draw()
gc.push("transform")
gc.replaceTransform(xOy)
@@ -587,6 +588,7 @@ function love.run()
LOG.draw()
PRESENT()
DISCARD()--SPEED UPUPUP!
end
end