游戏设置页面同时显示方块的旋转中心样式
This commit is contained in:
@@ -10,12 +10,24 @@ function scene.sceneBack()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function scene.draw()
|
function scene.draw()
|
||||||
|
gc.push('transform')
|
||||||
|
gc.translate(410,540-WIDGET.scrollPos)
|
||||||
|
|
||||||
|
--Draw mino
|
||||||
local t=TIME()
|
local t=TIME()
|
||||||
local b=math.floor(t*2)%16+1
|
local b=math.floor(t*2)%16+1
|
||||||
|
gc.setShader(SHADER.blockSatur)
|
||||||
gc.setColor(1,1,1)
|
gc.setColor(1,1,1)
|
||||||
gc.draw(SKIN.lib[SETTING.skinSet][b],410,540-WIDGET.scrollPos,t%6.2832,2,nil,15,15)
|
mDraw(SKIN.lib[SETTING.skinSet][b],0,0,t%6.2832,2)
|
||||||
gc.setColor(1,1,1,t*2%1)
|
gc.setColor(1,1,1,t*2%1)
|
||||||
gc.draw(SKIN.lib[SETTING.skinSet][b%16+1],410,540-WIDGET.scrollPos,t%6.2832,2,nil,15,15)
|
mDraw(SKIN.lib[SETTING.skinSet][b%16+1],0,0,t%6.2832,2)
|
||||||
|
gc.setShader()
|
||||||
|
|
||||||
|
--Draw center
|
||||||
|
gc.setColor(1,1,1)
|
||||||
|
mDraw(RSlist[SETTING.RS].centerTex,0,0,0,1.2)
|
||||||
|
|
||||||
|
gc.pop()
|
||||||
end
|
end
|
||||||
|
|
||||||
scene.widgetScrollHeight=200
|
scene.widgetScrollHeight=200
|
||||||
|
|||||||
Reference in New Issue
Block a user