微调框架坐标系相关细节

This commit is contained in:
MrZ626
2021-12-24 00:06:40 +08:00
parent 724a576aa3
commit 375e67bdc4

View File

@@ -706,7 +706,6 @@ function love.run()
if FCT>=100 then if FCT>=100 then
FCT=FCT-100 FCT=FCT-100
local safeX=SCR.safeX
gc_replaceTransform(SCR.origin) gc_replaceTransform(SCR.origin)
gc_setColor(1,1,1) gc_setColor(1,1,1)
BG.draw() BG.draw()
@@ -717,16 +716,14 @@ function love.run()
TEXT_draw() TEXT_draw()
--Draw cursor --Draw cursor
if mouseShow then if mouseShow then drawCursor(time,mx,my)end
drawCursor(time,mx,my)
end
gc_replaceTransform(SCR.xOy_ul)
MES_draw()
gc_replaceTransform(SCR.origin) gc_replaceTransform(SCR.origin)
MES_draw()
--Draw power info. --Draw power info.
if showPowerInfo then if showPowerInfo then
gc_setColor(1,1,1) gc_setColor(1,1,1)
gc_draw(infoCanvas,safeX,0,0,SCR.k) gc_draw(infoCanvas,SCR.safeX,0,0,SCR.k)
end end
--Draw scene swapping animation --Draw scene swapping animation
@@ -741,6 +738,8 @@ function love.run()
FONT.set(20) FONT.set(20)
mStr(VERSION.string,0,-30) mStr(VERSION.string,0,-30)
gc_replaceTransform(SCR.xOy_dl) gc_replaceTransform(SCR.xOy_dl)
local safeX=SCR.safeX/SCR.k
--Draw FPS --Draw FPS
FONT.set(15) FONT.set(15)
gc_setColor(1,1,1) gc_setColor(1,1,1)