玩家绘制模块改动,applyFieldOffset函数改为applyField,组合更多功能

修复部分模式往场地内部绘制信息时偏移问题
close #181
This commit is contained in:
MrZ626
2021-08-10 03:32:07 +08:00
parent a73819214b
commit 17479ac08b
9 changed files with 52 additions and 48 deletions

View File

@@ -31,14 +31,13 @@ return{
setFont(60)
mStr(P.modeData.tsd,63,250)
mText(drawableText.tsd,63,315)
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.translate(0,P.fieldBeneath+P.fieldUp)
PLY.draw.applyField(P)
local L=P.modeData.history
for i=1,#L do
gc.setColor(1,.5,.5,.3-i*.05)
gc.rectangle('fill',30*L[i]-30,0,30,600)
end
gc.setStencilTest()
gc.pop()
end,
score=function(P)return{P.modeData.tsd,P.stat.time}end,