玩家新增getCenterX方法,移除SFX.fieldPlay
This commit is contained in:
@@ -25,9 +25,6 @@ function SFX.init(list)
|
||||
end
|
||||
SFX.loadOne=nil
|
||||
|
||||
function SFX.fieldPlay(s,v,P)
|
||||
SFX.play(s,v,(P.curX+P.cur.sc[2]-5.5)*.15)
|
||||
end
|
||||
function SFX.play(s,vol,pos)
|
||||
if SETTING.sfx==0 or vol==0 then return end
|
||||
local S=Sources[s]--Source list
|
||||
|
||||
Reference in New Issue
Block a user