旋转中心和朝向信息放入方块对象中,修复+修改出块高度,修复无限上踢bug,整理代码

This commit is contained in:
MrZ626
2021-03-01 21:05:32 +08:00
parent a9c892e6c7
commit e71bf616f2
6 changed files with 69 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ function SFX.init(list)
SFX.loadOne=nil
function SFX.fieldPlay(s,v,P)
SFX.play(s,v,(P.curX+P.sc[2]-5.5)*.15)
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