diff options
author | Aki <nthirtyone@gmail.com> | 2017-03-19 03:29:32 +0100 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-03-19 03:29:32 +0100 |
commit | 2e352657813b37d17c2215b85189f18a50c099f9 (patch) | |
tree | 8ecbf2a0be065a14e0f679b10987e8b278afb882 /main.lua | |
parent | 19e6728c339cb029ab9a6b7762d60abe790b772a (diff) | |
download | roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.zip roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.gz roflnauts-2e352657813b37d17c2215b85189f18a50c099f9.tar.bz2 |
Comments, todos, pretty useless
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,11 @@ -- "NOTNAUTS" -- WHOLE CODE HAS FLAG OF "need a cleanup" +-- TODO: Any lua source file in root directory that is not `main` (this file), `conf` should be moved to a proper directory. Its name should be changed to show what it contains. + -- Pretend you didn't see this -- This is work for scene manager +-- TODO: Create SceneManager or similar class. Scene = nil function changeScene(scene) if Scene ~= nil then @@ -12,6 +15,7 @@ function changeScene(scene) end -- Should be moved to scene/camera +-- TODO: move following functions to `Camera`. function getScale() return math.max(1, math.floor(math.max(love.graphics.getWidth() / 320, love.graphics.getHeight() / 180))) end |