mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Not a big update
This commit is contained in:
7
main.lua
7
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user