计算器添加两个影响画面的的彩蛋
This commit is contained in:
@@ -177,9 +177,6 @@ function love.keypressed(i)
|
|||||||
LOG.print("luaVer:".._VERSION)
|
LOG.print("luaVer:".._VERSION)
|
||||||
LOG.print("jitVer:"..jit.version)
|
LOG.print("jitVer:"..jit.version)
|
||||||
LOG.print("jitVerNum:"..jit.version_num)
|
LOG.print("jitVerNum:"..jit.version_num)
|
||||||
local r=rnd()<.5
|
|
||||||
love._setGammaCorrect(r)
|
|
||||||
LOG.print("GammaCorrect: "..(r and"on"or"off"),"warn")
|
|
||||||
elseif i=="f3"then
|
elseif i=="f3"then
|
||||||
for _=1,8 do
|
for _=1,8 do
|
||||||
local P=PLAYERS.alive[rnd(#PLAYERS.alive)]
|
local P=PLAYERS.alive[rnd(#PLAYERS.alive)]
|
||||||
|
|||||||
@@ -89,6 +89,12 @@ function scene.keyDown(k)
|
|||||||
SFX.play("clear_2")
|
SFX.play("clear_2")
|
||||||
elseif v%1==0 and v>=8001 and v<=8012 then
|
elseif v%1==0 and v>=8001 and v<=8012 then
|
||||||
love.keypressed("f"..(v-8000))
|
love.keypressed("f"..(v-8000))
|
||||||
|
elseif v==123456 then
|
||||||
|
gc.setWireframe(not gc.isWireframe())
|
||||||
|
LOG.print("Wireframe: "..(gc.isWireframe()and"on"or"off"),"warn")
|
||||||
|
elseif v==654321 then
|
||||||
|
love._setGammaCorrect(not gc.isGammaCorrect())
|
||||||
|
LOG.print("GammaCorrect: "..(gc.isGammaCorrect()and"on"or"off"),"warn")
|
||||||
elseif v==670 then
|
elseif v==670 then
|
||||||
LOG.print("Screen Info:")
|
LOG.print("Screen Info:")
|
||||||
LOG.print("x y: "..SCR.x.." "..SCR.y)
|
LOG.print("x y: "..SCR.x.." "..SCR.y)
|
||||||
|
|||||||
Reference in New Issue
Block a user