mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 03:39:03 -06:00
Elaborate on TARGET_FPS
This commit is contained in:
parent
7c32273971
commit
80de771d2a
2
main.lua
2
main.lua
@ -293,6 +293,8 @@ function love.resize(w, h)
|
|||||||
GLOBAL_CANVAS = love.graphics.newCanvas(w, h)
|
GLOBAL_CANVAS = love.graphics.newCanvas(w, h)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- higher values of TARGET_FPS will make the game run "faster"
|
||||||
|
-- since the game is mostly designed for 60 FPS
|
||||||
local TARGET_FPS = 60
|
local TARGET_FPS = 60
|
||||||
local FRAME_DURATION = 1.0 / TARGET_FPS
|
local FRAME_DURATION = 1.0 / TARGET_FPS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user