场地晃动加入旋转分量

This commit is contained in:
MrZ626
2021-03-25 15:48:51 +08:00
parent f7ece80bec
commit 1f2652cc5e
5 changed files with 47 additions and 16 deletions

View File

@@ -50,19 +50,22 @@ return{
end
end,
mesDisp=function(P)
local dx,dy=P.fieldOff.x,P.fieldOff.y
setFont(55)
mStr(P.stat.row,69,225)
mText(drawableText.line,69,290)
gc.push("transform")
PLY.draw.applyFieldxOy(P)
PLY.draw.applyFieldOffset(P)
if P.modeData.showMark==0 then
local mark=TEXTURE.puzzleMark
local F=FIELD[P.modeData.finished+1]
for y=1,20 do for x=1,10 do
local T=F[y][x]
if T~=0 then
gc.draw(mark[T],150+30*x-30+dx,600-30*y+dy)
gc.draw(mark[T],150+30*x-30,600-30*y)
end
end end
end
gc.pop()
end,
}