主循环时序调整,不知道会不会提速
This commit is contained in:
@@ -516,9 +516,10 @@ function love.run()
|
|||||||
FCT=FCT+SETTING.frameMul
|
FCT=FCT+SETTING.frameMul
|
||||||
if FCT>=100 then
|
if FCT>=100 then
|
||||||
FCT=FCT-100
|
FCT=FCT-100
|
||||||
DISCARD()--SPEED UPUPUP!
|
|
||||||
|
|
||||||
|
--Draw background
|
||||||
BG.draw()
|
BG.draw()
|
||||||
|
|
||||||
gc.push("transform")
|
gc.push("transform")
|
||||||
gc.replaceTransform(xOy)
|
gc.replaceTransform(xOy)
|
||||||
|
|
||||||
@@ -587,6 +588,7 @@ function love.run()
|
|||||||
LOG.draw()
|
LOG.draw()
|
||||||
|
|
||||||
PRESENT()
|
PRESENT()
|
||||||
|
DISCARD()--SPEED UPUPUP!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user