电脑不再默认全屏,增加f11开关全屏功能,整理代码
This commit is contained in:
@@ -9,6 +9,15 @@ local ins,rem=table.insert,table.remove
|
||||
|
||||
|
||||
|
||||
--System
|
||||
function switchFullscreen()
|
||||
SETTING.fullscreen=not SETTING.fullscreen
|
||||
love.window.setFullscreen(SETTING.fullscreen)
|
||||
love.resize(love.graphics.getWidth(),love.graphics.getHeight())
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Encoding Functions
|
||||
--Sep symbol: 33 (!)
|
||||
--Safe char: 34~126
|
||||
|
||||
Reference in New Issue
Block a user