mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 07:09:02 -06:00
Compare commits
No commits in common. "d90e3820370e63fd2518a1405ad241d0838fb943" and "a1f0dfd9f24cc2c527f353004370a66638428cb1" have entirely different histories.
d90e382037
...
a1f0dfd9f2
2
main.lua
2
main.lua
@ -113,7 +113,7 @@ function love.keypressed(key, scancode)
|
|||||||
saveConfig()
|
saveConfig()
|
||||||
scene.restart_message = true
|
scene.restart_message = true
|
||||||
if config.secret then playSE("mode_decide")
|
if config.secret then playSE("mode_decide")
|
||||||
else playSE("erase", "single") end
|
else playSE("erase") end
|
||||||
-- f12 is reserved for saving screenshots
|
-- f12 is reserved for saving screenshots
|
||||||
elseif scancode == "f12" then
|
elseif scancode == "f12" then
|
||||||
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
|
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
|
||||||
|
@ -201,7 +201,7 @@ end
|
|||||||
|
|
||||||
Survival2020Game.opacityFunction = function(age)
|
Survival2020Game.opacityFunction = function(age)
|
||||||
if age > 300 then return 0
|
if age > 300 then return 0
|
||||||
else return 1 - math.max(age - 240, 0) / 60 end
|
else return 1 - Math.max(age - 240, 0) / 60 end
|
||||||
end
|
end
|
||||||
|
|
||||||
function Survival2020Game:drawGrid()
|
function Survival2020Game:drawGrid()
|
||||||
|
Loading…
Reference in New Issue
Block a user