有效窗口尺寸定义在SCR内而不是直接硬写进代码

This commit is contained in:
MrZ626
2020-11-09 10:28:43 +08:00
parent c205e30fc1
commit 19917faa7b
3 changed files with 11 additions and 10 deletions

View File

@@ -30,13 +30,14 @@ love.keyboard.setTextInput(false)
love.mouse.setVisible(false)
SCR={
w0=1280,h0=720,--Default Screen Size
x=0,y=0,--Up-left Coord on screen
w=0,h=0,--Fullscreen w/h in gc
W=0,H=0,--Fullscreen w/h in shader
rad=0,--Radius
k=1,--Scale size
dpi=1--DPI from gc.getDPIScale()
}--1280:720-Rect Screen Info
}
customEnv={
--Basic