版本信息改为显示在整个屏幕的底边

This commit is contained in:
MrZ626
2021-05-28 00:40:27 +08:00
parent 7f563df71c
commit 6ef7db7ddf

View File

@@ -570,11 +570,6 @@ function love.run()
--Draw widgets
WIDGET.draw()
--Draw Version string
gc_setColor(.8,.8,.8,.4)
setFont(20)
mStr(VERSION.string,640,693)
--Draw cursor
if mouseShow then
local R=int((time+1)/2)%7+1
@@ -610,6 +605,11 @@ function love.run()
gc_setColor(1,1,1)
gc_print(FPS(),SCR.safeX+5,_-20)
--Draw Version string
gc_setColor(.8,.8,.8,.4)
setFont(20)
mStr(VERSION.string,SCR.w*.5,SCR.h-30)
--Debug info.
if devMode then
--Left-down infos