Zframework finished
This commit is contained in:
8
Zframework/vib.lua
Normal file
8
Zframework/vib.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local level={0,0,.015,.02,.03,.04,.05,.06,.07,.08}
|
||||
local _=love.system.vibrate
|
||||
return function(t)
|
||||
local L=setting.vib
|
||||
if L>0 then
|
||||
_(level[L+t])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user