微调快速启动方法
This commit is contained in:
@@ -211,6 +211,7 @@ function love.keypressed(i)
|
|||||||
elseif i=="f10"then devMode=2 LOG.print("DEBUG 2",COLOR.yellow)
|
elseif i=="f10"then devMode=2 LOG.print("DEBUG 2",COLOR.yellow)
|
||||||
elseif i=="f11"then devMode=3 LOG.print("DEBUG 3",COLOR.yellow)
|
elseif i=="f11"then devMode=3 LOG.print("DEBUG 3",COLOR.yellow)
|
||||||
elseif i=="f12"then devMode=4 LOG.print("DEBUG 4",COLOR.yellow)
|
elseif i=="f12"then devMode=4 LOG.print("DEBUG 4",COLOR.yellow)
|
||||||
|
elseif i=="\\"then MARKING=nil
|
||||||
elseif devMode==2 then
|
elseif devMode==2 then
|
||||||
if WIDGET.sel then
|
if WIDGET.sel then
|
||||||
local W=WIDGET.sel
|
local W=WIDGET.sel
|
||||||
|
|||||||
@@ -103,10 +103,8 @@ function scene.sceneBack()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function scene.keyDown(k)
|
function scene.keyDown(k)
|
||||||
if k=="a"then
|
if k=="s"then
|
||||||
skip=true
|
skip=true
|
||||||
elseif k=="s"then
|
|
||||||
skip,MARKING=true
|
|
||||||
elseif k=="space"then
|
elseif k=="space"then
|
||||||
time=max(time-5,0)
|
time=max(time-5,0)
|
||||||
elseif k=="escape"then
|
elseif k=="escape"then
|
||||||
@@ -114,7 +112,7 @@ function scene.keyDown(k)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function scene.touchDown()
|
function scene.touchDown()
|
||||||
if #tc.getTouches()==2 then
|
if #tc.getTouches()==3 then
|
||||||
skip=true
|
skip=true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user