- [WIP] Treballant en el zoom, fullscreen ishaders
This commit is contained in:
1 parent
d2ebbccbf6
commit
6f485ede7b
2 files changed
+7
No files matched your search
@@ -22,6 +22,7 @@ function mini.init()
|
||||
|
||||
rooms.init()
|
||||
shader.init("lynx.glsl")
|
||||
shader.enable()
|
||||
--titles.enable()
|
||||
game.enable()
|
||||
--if sys.debug() then
|
||||
|
||||
@@ -84,6 +84,12 @@ game = {
|
||||
editor.enable()
|
||||
elseif key.press(key.GRAVE) then
|
||||
console.enable()
|
||||
elseif key.press(key.F1) then
|
||||
win.zoom(win.zoom()-1)
|
||||
elseif key.press(key.F2) then
|
||||
win.zoom(win.zoom()+1)
|
||||
elseif key.press(key.F3) then
|
||||
win.fullscreen(not win.fullscreen())
|
||||
end
|
||||
|
||||
--draw.text(sys.fps(),2,20,8)
|
||||
|
||||
Reference in new issue
Block a user