Not a big update

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-04-13 22:34:57 +07:00
parent 47a884700f
commit a3bd3b6933
6 changed files with 142 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ PENTO_MODE = false
SAVE_DIR = 'saves/'
REPLAY_DIR = 'saves/replays/'
if not love.filesystem.exists(REPLAY_DIR) then
if not love.filesystem.getInfo(REPLAY_DIR) then
love.filesystem.createDirectory(REPLAY_DIR)
end
CONFIG_FILE = 'config.sav'
@@ -29,6 +29,7 @@ function love.load()
require "load.bigint"
loadSave()
require "scene"
require "game.VirtualControl" -- VCTRL
love.mouse.setVisible(false)
love.window.setMode(love.graphics.getWidth(), love.graphics.getHeight(), {resizable = true});
@@ -58,9 +59,9 @@ function love.draw()
love.graphics.clear()
love.graphics.push()
-- get offset matrix
scene:render()
VCTRL.draw()
love.graphics.pop()
if DEBUG_showKey then