旋转系统模块重构,支持无旋转中心 close #168

This commit is contained in:
MrZ626
2021-08-08 18:19:43 +08:00
parent 471f1076c4
commit b083a0801f
10 changed files with 722 additions and 732 deletions

View File

@@ -29,7 +29,7 @@ function scene.draw()
gc.rotate(minoRot[n]+sin(t*3-n*.5)*.08)
local color=SETTING.skin[n]
local B=BLOCKS[n][0]
local x,y=-45-SCS[n][0][2]*30,15+SCS[n][0][1]*30
local x,y=-45-DSCP[n][0][2]*30,15+DSCP[n][0][1]*30
local col=#B[1]
for i=1,#B do for j=1,col do
if B[i][j]then