整理代码
This commit is contained in:
@@ -461,9 +461,8 @@ function love.run()
|
|||||||
local DISCARD=gc.discard
|
local DISCARD=gc.discard
|
||||||
local PRESENT=gc.present
|
local PRESENT=gc.present
|
||||||
|
|
||||||
local T=love.timer
|
local Timer=love.timer.getTime
|
||||||
local Timer=T.getTime
|
local STEP,WAIT=love.timer.step,love.timer.sleep
|
||||||
local STEP,GETDelta,WAIT=T.step,T.getDelta,T.sleep
|
|
||||||
local mini=love.window.isMinimized
|
local mini=love.window.isMinimized
|
||||||
local PUMP,POLL=love.event.pump,love.event.poll
|
local PUMP,POLL=love.event.pump,love.event.poll
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ return{
|
|||||||
P.modeData.event=sectionName[int(P.modeData.point*.1)+1]
|
P.modeData.event=sectionName[int(P.modeData.point*.1)+1]
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="tunnel",bgm="far",
|
bg="tunnel",bgm="far",
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ return{
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="rainbow2",bgm="storm",
|
bg="rainbow2",bgm="storm",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ return{
|
|||||||
D.counter=0
|
D.counter=0
|
||||||
D.event=D.event+1
|
D.event=D.event+1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="bg2",bgm="down",
|
bg="bg2",bgm="down",
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ function Pnt.mod()
|
|||||||
mStr(M.list[M.sel],20,8)
|
mStr(M.list[M.sel],20,8)
|
||||||
setFont(40)
|
setFont(40)
|
||||||
end
|
end
|
||||||
|
|
||||||
if M.list then
|
if M.list then
|
||||||
gc.setColor(1,1,1,t*6)
|
gc.setColor(1,1,1,t*6)
|
||||||
gc.arc("line","open",0,0,rad+6,0,(M.sel/#M.list)*t*62.832)
|
gc.arc("line","open",0,0,rad+6,0,(M.sel/#M.list)*t*62.832)
|
||||||
|
|||||||
Reference in New Issue
Block a user