【方块透明度改为显示开关】遗留问题处理
This commit is contained in:
2
main.lua
2
main.lua
@@ -55,7 +55,7 @@ customEnv={
|
||||
oncehold=true,
|
||||
|
||||
--Visual
|
||||
block=1,
|
||||
block=true,
|
||||
ghost=.3,
|
||||
center=1,
|
||||
bagLine=false,
|
||||
|
||||
@@ -4,7 +4,7 @@ return{
|
||||
color=color.red,
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
block=0,center=0,ghost=0,
|
||||
block=false,center=0,ghost=0,
|
||||
dropFX=0,lockFX=0,
|
||||
visible="none",
|
||||
dropPiece=PLY.check_lineReach,
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
next=1,
|
||||
block=0,center=0,ghost=0,
|
||||
block=false,center=0,ghost=0,
|
||||
dropFX=0,lockFX=0,
|
||||
visible="none",
|
||||
dropPiece=PLY.check_lineReach,
|
||||
|
||||
@@ -17,7 +17,7 @@ setting={
|
||||
face={},
|
||||
|
||||
--Graphic
|
||||
block=1,ghost=.3,center=1,
|
||||
block=true,ghost=.3,center=1,
|
||||
smooth=true,grid=false,
|
||||
bagLine=false,
|
||||
lockFX=2,
|
||||
|
||||
@@ -731,7 +731,7 @@ do--function Pdraw_norm(P)
|
||||
--Draw rotate center
|
||||
local x=30*(P.curX+P.sc[2])-15
|
||||
if ENV.center and ENV.block then
|
||||
gc.setColor(1,1,1,ENV.block*ENV.center)
|
||||
gc.setColor(1,1,1,ENV.center)
|
||||
gc.draw(IMG.spinCenter,x,-30*(P.curY+P.sc[1])+15,nil,nil,nil,4,4)
|
||||
end
|
||||
gc.translate(0,dy)
|
||||
@@ -1224,7 +1224,6 @@ local function applyGameEnv(P)--Finish gameEnv processing
|
||||
if ENV.clearFX==0 then ENV.clearFX=nil end
|
||||
if ENV.shakeFX==0 then ENV.shakeFX=nil end
|
||||
|
||||
if ENV.block==0 then ENV.block=nil end
|
||||
if ENV.ghost==0 then ENV.ghost=nil end
|
||||
if ENV.center==0 then ENV.center=nil end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user