sysFX模块改名SYSFX

This commit is contained in:
MrZ626
2020-11-17 10:26:51 +08:00
parent a1f4b703e6
commit d70e915557
11 changed files with 34 additions and 34 deletions

View File

@@ -99,8 +99,8 @@ function keyDown.custom_field(key)
for j=1,10 do
if F[i][j]<=0 then goto L end
end
sysFX.newShade(.3,1,1,1,200,660-30*i,300,30)
sysFX.newRectRipple(.3,200,660-30*i,300,30)
SYSFX.newShade(.3,1,1,1,200,660-30*i,300,30)
SYSFX.newRectRipple(.3,200,660-30*i,300,30)
rem(F,i)
::L::
end
@@ -133,14 +133,14 @@ function keyDown.custom_field(key)
ins(FIELD,S.page+1,newBoard(FIELD[S.page]))
S.page=S.page+1
SFX.play("blip_1",.8)
sysFX.newShade(.3,.5,1,.5,200,60,300,600)
SYSFX.newShade(.3,.5,1,.5,200,60,300,600)
elseif key=="m"then
rem(FIELD,S.page)
S.page=max(S.page-1,1)
if not FIELD[1]then
ins(FIELD,newBoard())
end
sysFX.newShade(.3,1,.5,.5,200,60,300,600)
SYSFX.newShade(.3,1,.5,.5,200,60,300,600)
SFX.play("clear_4",.8)
SFX.play("fall",.8)
else

View File

@@ -73,7 +73,7 @@ local function tapBoard(x,y,key)
if S.state<2 then
if not key then
if S.pathVis then
sysFX.newRipple(.16,x,y,10)
SYSFX.newRipple(.16,x,y,10)
end
x,y=int((x-320)/160)+1,int((y-40)/160)+1
end

View File

@@ -60,12 +60,12 @@ local function tapBoard(x,y)
SFX.play("reach")
end
if S.tapFX then
sysFX.newShade(.3,.6,.8,1,320+640/R*X,40+640/R*Y,640/R,640/R)
SYSFX.newShade(.3,.6,.8,1,320+640/R*X,40+640/R*Y,640/R,640/R)
end
else
S.error=S.error+1
if S.tapFX then
sysFX.newShade(.5,1,.4,.5,320+640/R*X,40+640/R*Y,640/R,640/R)
SYSFX.newShade(.5,1,.4,.5,320+640/R*X,40+640/R*Y,640/R,640/R)
end
SFX.play("finesseError")
end