整理游戏设置变量

This commit is contained in:
MrZ626
2020-09-16 18:25:07 +08:00
parent 045b352064
commit d9920c3772
3 changed files with 6 additions and 11 deletions

View File

@@ -20,7 +20,6 @@ end
return{
color=color.white,
env={
puzzle=true,
Fkey=function(P)P.modeData.event=1-P.modeData.event end,
dropPiece=puzzleCheck,
},
@@ -65,7 +64,7 @@ return{
setFont(55)
mStr(P.stat.row,69,295)
mText(drawableText.line,69,360)
if P.gameEnv.puzzle and P.modeData.event==0 then
if P.modeData.event==0 then
local m=puzzleMark
for y=1,preField.h do for x=1,10 do
local T=preField[y][x]

View File

@@ -17,7 +17,7 @@ setting={
face={},
--Graphic
ghost=.3,center=1,
block=1,ghost=.3,center=1,
smooth=true,grid=false,
bagLine=false,
lockFX=2,

View File

@@ -10,9 +10,7 @@ local setFont=setFont
--------------------------<Data>--------------------------
local gameEnv0={
noTele=false,
das=10,arr=2,
sddas=2,sdarr=2,
das=10,arr=2,sddas=2,sdarr=2,
ihs=true,irs=true,ims=true,
swap=true,
@@ -36,15 +34,16 @@ local gameEnv0={
hold=true,oncehold=true,
ospin=true,
sequence="bag",bag={1,2,3,4,5,6,7},
freshMethod=NULL,
face=NULL,skin=NULL,
life=0,
pushSpeed=3,
block=true,
noTele=false,
visible="show",
Fkey=NULL,puzzle=false,
freshLimit=1e99,easyFresh=true,
Fkey=NULL,
fine=false,fineKill=false,
target=1e99,dropPiece=NULL,
mindas=0,minarr=0,minsdarr=0,
@@ -3010,10 +3009,7 @@ function PLY.newDemoPlayer(id,x,y,size)
pushSpeed=3,
block=true,
visible="show",
Fkey=nil,puzzle=false,
freshLimit=1e99,easyFresh=true,
fine=false,fineKill=false,
target=1e99,dropPiece=NULL,
mindas=0,minarr=0,minsdarr=0,
}
applyGameEnv(P)