mod显示当前挡位在总数占比
This commit is contained in:
@@ -110,7 +110,7 @@ function Pnt.mod()
|
||||
for _,M in next,MODOPT do
|
||||
gc.push("transform")
|
||||
gc.translate(M.x,M.y)
|
||||
local t=M.time*.01
|
||||
local t=M.time*.01--t range:0~0.1
|
||||
gc.scale(1+3*t)
|
||||
gc.rotate(t)
|
||||
local rad,side
|
||||
@@ -133,6 +133,11 @@ function Pnt.mod()
|
||||
mStr(M.list[M.sel],20,8)
|
||||
setFont(40)
|
||||
end
|
||||
|
||||
if M.list then
|
||||
gc.setColor(1,1,1,t*6)
|
||||
gc.arc("line","open",0,0,rad+6,0,(M.sel/#M.list)*t*62.832)
|
||||
end
|
||||
gc.pop()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user