新增ARS_Z旋转系统 close #141

This commit is contained in:
MrZ626
2021-08-21 02:40:56 +08:00
parent 961cf347da
commit e1d85b0a04
3 changed files with 46 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ local function update_misc(P,dt)
end
--Field shaking
--TODO
if P.gameEnv.shakeFX then
local O=P.fieldOff
O.vx=O.vx*.8-abs(O.x)^1.3*(O.x>0 and .1 or -.1)