整理代码

This commit is contained in:
MrZ626
2021-08-10 03:33:25 +08:00
parent 17479ac08b
commit c168a6c685
4 changed files with 55 additions and 53 deletions

View File

@@ -10,12 +10,14 @@ local fakePlayer={cur={bk={{true}},skinLib=nil},curX=0,ghoY=0}
function scene.draw()
local L=SKIN.lib[SETTING.skinSet]
fakePlayer.skinLib=L
gc.push('transform')
gc.translate(720,149-WIDGET.scrollPos)
gc.scale(2)
gc.setColor(1,1,1)
PLY.draw.drawGhost[SETTING.ghostType](fakePlayer,math.floor(TIME()*3)%16+1,SETTING.ghost)
gc.pop()
gc.push('transform')
gc.setColor(1,1,1)
local T=L[1]