新增显示落块分数
This commit is contained in:
@@ -285,6 +285,7 @@ local langList={
|
|||||||
setting_game={
|
setting_game={
|
||||||
graphic="←画面设置",
|
graphic="←画面设置",
|
||||||
sound="声音设置→",
|
sound="声音设置→",
|
||||||
|
|
||||||
ctrl="控制设置",
|
ctrl="控制设置",
|
||||||
key="键位设置",
|
key="键位设置",
|
||||||
touch="触屏设置",
|
touch="触屏设置",
|
||||||
@@ -301,12 +302,15 @@ local langList={
|
|||||||
setting_video={
|
setting_video={
|
||||||
sound="←声音设置",
|
sound="←声音设置",
|
||||||
game="游戏设置→",
|
game="游戏设置→",
|
||||||
|
|
||||||
block="方块可见",
|
block="方块可见",
|
||||||
ghost="阴影透明度",
|
ghost="阴影透明度",
|
||||||
center="旋转中心透明度",
|
center="旋转中心透明度",
|
||||||
|
|
||||||
smooth="平滑下落",
|
smooth="平滑下落",
|
||||||
grid="网格",
|
grid="网格",
|
||||||
bagLine="包分界线",
|
bagLine="包分界线",
|
||||||
|
|
||||||
lockFX="锁定特效等级",
|
lockFX="锁定特效等级",
|
||||||
dropFX="下落特效等级",
|
dropFX="下落特效等级",
|
||||||
moveFX="移动特效等级",
|
moveFX="移动特效等级",
|
||||||
@@ -314,7 +318,9 @@ local langList={
|
|||||||
shakeFX="晃动特效等级",
|
shakeFX="晃动特效等级",
|
||||||
atkFX="攻击特效等级",
|
atkFX="攻击特效等级",
|
||||||
frame="绘制帧率",
|
frame="绘制帧率",
|
||||||
|
|
||||||
text="消行文本",
|
text="消行文本",
|
||||||
|
score="分数动画",
|
||||||
warn="死亡预警",
|
warn="死亡预警",
|
||||||
highCam="超屏视野",
|
highCam="超屏视野",
|
||||||
nextPos="生成预览",
|
nextPos="生成预览",
|
||||||
@@ -326,6 +332,7 @@ local langList={
|
|||||||
setting_sound={
|
setting_sound={
|
||||||
game="←游戏设置",
|
game="←游戏设置",
|
||||||
graphic="画面设置→",
|
graphic="画面设置→",
|
||||||
|
|
||||||
sfx="音效",
|
sfx="音效",
|
||||||
stereo="立体声",
|
stereo="立体声",
|
||||||
spawn="方块生成",
|
spawn="方块生成",
|
||||||
@@ -802,6 +809,7 @@ local langList={
|
|||||||
setting_game={
|
setting_game={
|
||||||
graphic="←画面设置",
|
graphic="←画面设置",
|
||||||
sound="声音设置→",
|
sound="声音设置→",
|
||||||
|
|
||||||
ctrl="控制设置",
|
ctrl="控制设置",
|
||||||
key="键位设置",
|
key="键位设置",
|
||||||
touch="触屏设置",
|
touch="触屏设置",
|
||||||
@@ -818,12 +826,15 @@ local langList={
|
|||||||
setting_video={
|
setting_video={
|
||||||
sound="←声音设置",
|
sound="←声音设置",
|
||||||
game="游戏设置→",
|
game="游戏设置→",
|
||||||
|
|
||||||
block="方块可见",
|
block="方块可见",
|
||||||
ghost="阴影透明度",
|
ghost="阴影透明度",
|
||||||
center="旋转中心透明度",
|
center="旋转中心透明度",
|
||||||
|
|
||||||
smooth="平滑下落",
|
smooth="平滑下落",
|
||||||
grid="网格",
|
grid="网格",
|
||||||
bagLine="包分界线",
|
bagLine="包分界线",
|
||||||
|
|
||||||
lockFX="锁定特效等级",
|
lockFX="锁定特效等级",
|
||||||
dropFX="下落特效等级",
|
dropFX="下落特效等级",
|
||||||
moveFX="移动特效等级",
|
moveFX="移动特效等级",
|
||||||
@@ -831,7 +842,9 @@ local langList={
|
|||||||
shakeFX="晃动特效等级",
|
shakeFX="晃动特效等级",
|
||||||
atkFX="攻击特效等级",
|
atkFX="攻击特效等级",
|
||||||
frame="绘制帧率",
|
frame="绘制帧率",
|
||||||
|
|
||||||
text="消行文本",
|
text="消行文本",
|
||||||
|
score="分数动画",
|
||||||
warn="死亡预警",
|
warn="死亡预警",
|
||||||
highCam="超屏视野",
|
highCam="超屏视野",
|
||||||
nextPos="生成预览",
|
nextPos="生成预览",
|
||||||
@@ -843,6 +856,7 @@ local langList={
|
|||||||
setting_sound={
|
setting_sound={
|
||||||
game="←游戏设置",
|
game="←游戏设置",
|
||||||
graphic="画面设置→",
|
graphic="画面设置→",
|
||||||
|
|
||||||
sfx="音效",
|
sfx="音效",
|
||||||
stereo="立体声",
|
stereo="立体声",
|
||||||
spawn="方块生成",
|
spawn="方块生成",
|
||||||
@@ -1309,6 +1323,7 @@ local langList={
|
|||||||
setting_game={
|
setting_game={
|
||||||
graphic="←Video",
|
graphic="←Video",
|
||||||
sound="Sound→",
|
sound="Sound→",
|
||||||
|
|
||||||
ctrl="Control Settings",
|
ctrl="Control Settings",
|
||||||
key="Key Mappings",
|
key="Key Mappings",
|
||||||
touch="Touch Settings",
|
touch="Touch Settings",
|
||||||
@@ -1325,12 +1340,15 @@ local langList={
|
|||||||
setting_video={
|
setting_video={
|
||||||
sound="←Sound",
|
sound="←Sound",
|
||||||
game="Game→",
|
game="Game→",
|
||||||
|
|
||||||
block="Draw Block",
|
block="Draw Block",
|
||||||
ghost="Ghost",
|
ghost="Ghost",
|
||||||
center="Center",
|
center="Center",
|
||||||
|
|
||||||
smooth="Smooth drop",
|
smooth="Smooth drop",
|
||||||
grid="Grid",
|
grid="Grid",
|
||||||
bagLine="Bag Line",
|
bagLine="Bag Line",
|
||||||
|
|
||||||
lockFX="Lock FX Level",
|
lockFX="Lock FX Level",
|
||||||
dropFX="Drop FX Level",
|
dropFX="Drop FX Level",
|
||||||
moveFX="Move FX Level",
|
moveFX="Move FX Level",
|
||||||
@@ -1338,7 +1356,9 @@ local langList={
|
|||||||
shakeFX="Field Sway Level",
|
shakeFX="Field Sway Level",
|
||||||
atkFX="ATK. FX Level",
|
atkFX="ATK. FX Level",
|
||||||
frame="Render Frame Rate",
|
frame="Render Frame Rate",
|
||||||
|
|
||||||
text="Action Text",
|
text="Action Text",
|
||||||
|
score="Pop-up Score",
|
||||||
warn="Death Alert",
|
warn="Death Alert",
|
||||||
highCam="Bird-eye view",
|
highCam="Bird-eye view",
|
||||||
nextPos="Next preview",
|
nextPos="Next preview",
|
||||||
@@ -1350,6 +1370,7 @@ local langList={
|
|||||||
setting_sound={
|
setting_sound={
|
||||||
game="←Game",
|
game="←Game",
|
||||||
graphic="Video→",
|
graphic="Video→",
|
||||||
|
|
||||||
sfx="SFX",
|
sfx="SFX",
|
||||||
stereo="Stereo",
|
stereo="Stereo",
|
||||||
spawn="Spawning",
|
spawn="Spawning",
|
||||||
@@ -1812,6 +1833,7 @@ local langList={
|
|||||||
setting_game={
|
setting_game={
|
||||||
graphic="←Video",
|
graphic="←Video",
|
||||||
sound="Sound→",
|
sound="Sound→",
|
||||||
|
|
||||||
ctrl="=?=",
|
ctrl="=?=",
|
||||||
key="=?",
|
key="=?",
|
||||||
touch="_?",
|
touch="_?",
|
||||||
@@ -1828,12 +1850,15 @@ local langList={
|
|||||||
setting_video={
|
setting_video={
|
||||||
sound="←Sound",
|
sound="←Sound",
|
||||||
game="Game→",
|
game="Game→",
|
||||||
|
|
||||||
block="==↓==",
|
block="==↓==",
|
||||||
ghost="__↓__",
|
ghost="__↓__",
|
||||||
center="+",
|
center="+",
|
||||||
|
|
||||||
smooth="~~↓~~",
|
smooth="~~↓~~",
|
||||||
grid="#",
|
grid="#",
|
||||||
bagLine="123|123",
|
bagLine="123|123",
|
||||||
|
|
||||||
lockFX="↓_~",
|
lockFX="↓_~",
|
||||||
dropFX="↓~",
|
dropFX="↓~",
|
||||||
moveFX="←→~",
|
moveFX="←→~",
|
||||||
@@ -1841,7 +1866,9 @@ local langList={
|
|||||||
shakeFX="~|~|~",
|
shakeFX="~|~|~",
|
||||||
atkFX="→→~",
|
atkFX="→→~",
|
||||||
frame="|=|",
|
frame="|=|",
|
||||||
|
|
||||||
text="ABC",
|
text="ABC",
|
||||||
|
score="+123",
|
||||||
warn="!↑↑↑!",
|
warn="!↑↑↑!",
|
||||||
highCam="↑__↑",
|
highCam="↑__↑",
|
||||||
nextPos="???←",
|
nextPos="???←",
|
||||||
@@ -1853,6 +1880,7 @@ local langList={
|
|||||||
setting_sound={
|
setting_sound={
|
||||||
game="←Game",
|
game="←Game",
|
||||||
graphic="Video→",
|
graphic="Video→",
|
||||||
|
|
||||||
sfx="#!#",
|
sfx="#!#",
|
||||||
stereo="←~→",
|
stereo="←~→",
|
||||||
spawn="#[]#",
|
spawn="#[]#",
|
||||||
@@ -2327,6 +2355,7 @@ local langList={
|
|||||||
setting_game={
|
setting_game={
|
||||||
graphic="←改画面",
|
graphic="←改画面",
|
||||||
sound="改声音→",
|
sound="改声音→",
|
||||||
|
|
||||||
ctrl="改控制",
|
ctrl="改控制",
|
||||||
key="改键位",
|
key="改键位",
|
||||||
touch="改触屏",
|
touch="改触屏",
|
||||||
@@ -2343,12 +2372,15 @@ local langList={
|
|||||||
setting_video={
|
setting_video={
|
||||||
sound="←改声音",
|
sound="←改声音",
|
||||||
game="游戏设置→",
|
game="游戏设置→",
|
||||||
|
|
||||||
block="方块可见",
|
block="方块可见",
|
||||||
ghost="阴影",
|
ghost="阴影",
|
||||||
smooth="平滑下落",
|
smooth="平滑下落",
|
||||||
|
|
||||||
center="中心",
|
center="中心",
|
||||||
grid="网格",
|
grid="网格",
|
||||||
bagLine="包分界线",
|
bagLine="包分界线",
|
||||||
|
|
||||||
lockFX="锁定特效",
|
lockFX="锁定特效",
|
||||||
dropFX="下落特效",
|
dropFX="下落特效",
|
||||||
moveFX="移动特效",
|
moveFX="移动特效",
|
||||||
@@ -2356,7 +2388,9 @@ local langList={
|
|||||||
shakeFX="晃动特效",
|
shakeFX="晃动特效",
|
||||||
atkFX="攻击特效",
|
atkFX="攻击特效",
|
||||||
frame="绘制帧率",
|
frame="绘制帧率",
|
||||||
|
|
||||||
text="招式名",
|
text="招式名",
|
||||||
|
score="跳分",
|
||||||
warn="死亡预警",
|
warn="死亡预警",
|
||||||
highCam="拉镜",
|
highCam="拉镜",
|
||||||
nextPos="生成预览",
|
nextPos="生成预览",
|
||||||
@@ -2368,6 +2402,7 @@ local langList={
|
|||||||
setting_sound={
|
setting_sound={
|
||||||
game="←游戏设置",
|
game="←游戏设置",
|
||||||
graphic="改画面→",
|
graphic="改画面→",
|
||||||
|
|
||||||
sfx="音效",
|
sfx="音效",
|
||||||
stereo="立体声",
|
stereo="立体声",
|
||||||
spawn="出块",
|
spawn="出块",
|
||||||
|
|||||||
@@ -64,10 +64,10 @@ function textFX.beat(t)
|
|||||||
mStr(t.text,0,-t.font*.7)
|
mStr(t.text,0,-t.font*.7)
|
||||||
gc.pop()
|
gc.pop()
|
||||||
end
|
end
|
||||||
function textFX.mark(t)
|
function textFX.score(t)
|
||||||
local _,_,_,T=gc.getColor()
|
local _,_,_,T=gc.getColor()
|
||||||
gc.setColor(1,1,1,T*.08)
|
gc.setColor(1,1,1,T*.5)
|
||||||
mStr(t.text,t.x,t.y-t.font*.7)
|
mStr(t.text,t.x,t.y-t.font*.7-t.c^.3*50)
|
||||||
end
|
end
|
||||||
|
|
||||||
local TEXT={}
|
local TEXT={}
|
||||||
|
|||||||
@@ -394,22 +394,23 @@ local Widgets={
|
|||||||
end}),
|
end}),
|
||||||
|
|
||||||
newSwitch({name="text", x=1100, y=180,font=35,disp=SETval("text"),code=SETrev("text")}),
|
newSwitch({name="text", x=1100, y=180,font=35,disp=SETval("text"),code=SETrev("text")}),
|
||||||
newSwitch({name="warn", x=1100, y=240,font=35,disp=SETval("warn"),code=SETrev("warn")}),
|
newSwitch({name="score", x=1100, y=240,font=35,disp=SETval("score"),code=SETrev("score")}),
|
||||||
newSwitch({name="highCam", x=1100, y=300,font=35,disp=SETval("highCam"),code=SETrev("highCam")}),
|
newSwitch({name="warn", x=1100, y=300,font=35,disp=SETval("warn"),code=SETrev("warn")}),
|
||||||
newSwitch({name="nextPos", x=1100, y=360,font=35,disp=SETval("nextPos"),code=SETrev("nextPos")}),
|
newSwitch({name="highCam", x=1100, y=360,font=35,disp=SETval("highCam"),code=SETrev("highCam")}),
|
||||||
newSwitch({name="fullscreen",x=1100,y=420,font=35,disp=SETval("fullscreen"),
|
newSwitch({name="nextPos", x=1100, y=420,font=35,disp=SETval("nextPos"),code=SETrev("nextPos")}),
|
||||||
|
newSwitch({name="fullscreen",x=1100,y=480,font=30,disp=SETval("fullscreen"),
|
||||||
code=function()
|
code=function()
|
||||||
setting.fullscreen=not setting.fullscreen
|
setting.fullscreen=not setting.fullscreen
|
||||||
love.window.setFullscreen(setting.fullscreen)
|
love.window.setFullscreen(setting.fullscreen)
|
||||||
love.resize(love.graphics.getWidth(),love.graphics.getHeight())
|
love.resize(love.graphics.getWidth(),love.graphics.getHeight())
|
||||||
end}),
|
end}),
|
||||||
newSwitch({name="bg", x=1100, y=480,font=35,disp=SETval("bg"),
|
newSwitch({name="bg", x=1100, y=540,font=35,disp=SETval("bg"),
|
||||||
code=function()
|
code=function()
|
||||||
BG.set("none")
|
BG.set("none")
|
||||||
setting.bg=not setting.bg
|
setting.bg=not setting.bg
|
||||||
BG.set("space")
|
BG.set("space")
|
||||||
end}),
|
end}),
|
||||||
newSwitch({name="power", x=1100, y=540,font=35,disp=SETval("powerInfo"),
|
newSwitch({name="power", x=990, y=640,font=35,disp=SETval("powerInfo"),
|
||||||
code=function()
|
code=function()
|
||||||
setting.powerInfo=not setting.powerInfo
|
setting.powerInfo=not setting.powerInfo
|
||||||
end}),
|
end}),
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ return{
|
|||||||
env={
|
env={
|
||||||
drop=15,lock=45,
|
drop=15,lock=45,
|
||||||
fall=10,
|
fall=10,
|
||||||
center=false,
|
|
||||||
dropFX=0,lockFX=0,
|
dropFX=0,lockFX=0,
|
||||||
visible="none",
|
visible="none",
|
||||||
dropPiece=PLY.check_lineReach,
|
dropPiece=PLY.check_lineReach,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
drop=10,lock=60,
|
drop=10,lock=60,
|
||||||
fall=5,
|
fall=5,
|
||||||
center=0,ghost=0,
|
ghost=0,
|
||||||
dropFX=0,lockFX=0,
|
dropFX=0,lockFX=0,
|
||||||
visible="none",
|
visible="none",
|
||||||
dropPiece=PLY.check_lineReach,
|
dropPiece=PLY.check_lineReach,
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ setting={
|
|||||||
frameMul=100,
|
frameMul=100,
|
||||||
|
|
||||||
text=true,
|
text=true,
|
||||||
|
score=true,
|
||||||
warn=true,
|
warn=true,
|
||||||
highCam=false,
|
highCam=false,
|
||||||
nextPos=false,
|
nextPos=false,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ local gc=love.graphics
|
|||||||
local mt=love.math
|
local mt=love.math
|
||||||
local Timer=love.timer.getTime
|
local Timer=love.timer.getTime
|
||||||
local int,ceil,rnd=math.floor,math.ceil,math.random
|
local int,ceil,rnd=math.floor,math.ceil,math.random
|
||||||
local max,min,abs,sin,cos=math.max,math.min,math.abs,math.sin,math.cos
|
local max,min,abs,sin,cos,log=math.max,math.min,math.abs,math.sin,math.cos,math.log
|
||||||
local ins,rem=table.insert,table.remove
|
local ins,rem=table.insert,table.remove
|
||||||
local format=string.format
|
local format=string.format
|
||||||
local scr=scr
|
local scr=scr
|
||||||
@@ -18,6 +18,7 @@ local gameEnv0={
|
|||||||
smooth=false,grid=false,
|
smooth=false,grid=false,
|
||||||
bagLine=false,
|
bagLine=false,
|
||||||
text=true,
|
text=true,
|
||||||
|
score=true,
|
||||||
lockFX=2,
|
lockFX=2,
|
||||||
dropFX=2,
|
dropFX=2,
|
||||||
moveFX=2,
|
moveFX=2,
|
||||||
@@ -2097,9 +2098,11 @@ do--player.drop(P)--Place piece
|
|||||||
local _
|
local _
|
||||||
local CHN=VOC.getFreeChannel()
|
local CHN=VOC.getFreeChannel()
|
||||||
P.dropTime[11]=ins(P.dropTime,1,game.frame)--Update speed dial
|
P.dropTime[11]=ins(P.dropTime,1,game.frame)--Update speed dial
|
||||||
local cmb=P.combo
|
local ENV=P.gameEnv
|
||||||
P.waiting=P.gameEnv.wait
|
|
||||||
local STAT=P.stat
|
local STAT=P.stat
|
||||||
|
P.waiting=ENV.wait
|
||||||
|
|
||||||
|
local cmb=P.combo
|
||||||
local CB,CX,CY=P.cur,P.curX,P.curY
|
local CB,CX,CY=P.cur,P.curX,P.curY
|
||||||
local clear--If (perfect)clear
|
local clear--If (perfect)clear
|
||||||
local cc,gbcc=0,0--Row/garbage-row cleared,full-part
|
local cc,gbcc=0,0--Row/garbage-row cleared,full-part
|
||||||
@@ -2145,15 +2148,15 @@ do--player.drop(P)--Place piece
|
|||||||
end
|
end
|
||||||
|
|
||||||
--Create clearing FX
|
--Create clearing FX
|
||||||
if cc>0 and P.gameEnv.clearFX then
|
if cc>0 and ENV.clearFX then
|
||||||
local t=7-P.gameEnv.clearFX*1
|
local t=7-ENV.clearFX*1
|
||||||
for i=1,cc do
|
for i=1,cc do
|
||||||
P:createClearingFX(P.clearedRow[i],t)
|
P:createClearingFX(P.clearedRow[i],t)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--Create locking FX
|
--Create locking FX
|
||||||
if P.gameEnv.lockFX then
|
if ENV.lockFX then
|
||||||
if cc==0 then
|
if cc==0 then
|
||||||
P:createLockFX()
|
P:createLockFX()
|
||||||
else
|
else
|
||||||
@@ -2234,7 +2237,7 @@ do--player.drop(P)--Place piece
|
|||||||
_=_-1
|
_=_-1
|
||||||
end
|
end
|
||||||
if P.clearingRow[1]then
|
if P.clearingRow[1]then
|
||||||
P.falling=P.gameEnv.fall
|
P.falling=ENV.fall
|
||||||
elseif cc==P.r then
|
elseif cc==P.r then
|
||||||
clear=true
|
clear=true
|
||||||
end
|
end
|
||||||
@@ -2285,7 +2288,7 @@ do--player.drop(P)--Place piece
|
|||||||
P:showText(text.mini,0,-80,35,"appear")
|
P:showText(text.mini,0,-80,35,"appear")
|
||||||
atk=atk*.25
|
atk=atk*.25
|
||||||
sendTime=sendTime+60
|
sendTime=sendTime+60
|
||||||
cscore=cscore*.6
|
cscore=cscore*.5
|
||||||
P.b2b=P.b2b+b2bPoint[cc]*.5
|
P.b2b=P.b2b+b2bPoint[cc]*.5
|
||||||
if P.human then
|
if P.human then
|
||||||
VOC.play("mini",CHN)
|
VOC.play("mini",CHN)
|
||||||
@@ -2445,7 +2448,7 @@ do--player.drop(P)--Place piece
|
|||||||
|
|
||||||
--Check clearing task
|
--Check clearing task
|
||||||
if P.curMission then
|
if P.curMission then
|
||||||
local t=P.gameEnv.mission[P.curMission]
|
local t=ENV.mission[P.curMission]
|
||||||
local success
|
local success
|
||||||
if t<5 then
|
if t<5 then
|
||||||
if C.row==t then
|
if C.row==t then
|
||||||
@@ -2467,11 +2470,11 @@ do--player.drop(P)--Place piece
|
|||||||
if success then
|
if success then
|
||||||
P.curMission=P.curMission+1
|
P.curMission=P.curMission+1
|
||||||
SFX.play("reach")
|
SFX.play("reach")
|
||||||
if P.curMission>#P.gameEnv.mission then
|
if P.curMission>#ENV.mission then
|
||||||
P.curMission=nil
|
P.curMission=nil
|
||||||
P:win()
|
P:win()
|
||||||
end
|
end
|
||||||
elseif P.gameEnv.missionKill then
|
elseif ENV.missionKill then
|
||||||
P:showText(text.missionFailed,0,140,40,"flicker",.5)
|
P:showText(text.missionFailed,0,140,40,"flicker",.5)
|
||||||
SFX.play("finesseError_long",.6)
|
SFX.play("finesseError_long",.6)
|
||||||
P:lose()
|
P:lose()
|
||||||
@@ -2503,7 +2506,7 @@ do--player.drop(P)--Place piece
|
|||||||
--DropSpeed bonus
|
--DropSpeed bonus
|
||||||
if P._20G then
|
if P._20G then
|
||||||
dropScore=dropScore*2
|
dropScore=dropScore*2
|
||||||
elseif P.gameEnv.drop<3 then
|
elseif ENV.drop<3 then
|
||||||
dropScore=dropScore*1.5
|
dropScore=dropScore*1.5
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -2524,7 +2527,11 @@ do--player.drop(P)--Place piece
|
|||||||
end
|
end
|
||||||
P.combo=cmb
|
P.combo=cmb
|
||||||
|
|
||||||
STAT.score=STAT.score+int(cscore)
|
cscore=int(cscore)
|
||||||
|
if ENV.score then
|
||||||
|
P:showText(cscore,(P.curX+P.sc[2]-5.5)*30,(10-P.curY-P.sc[1])*30+P.fieldBeneath+P.fieldUp,int(40-600/(cscore+20)),"score",2)
|
||||||
|
end
|
||||||
|
STAT.score=STAT.score+cscore
|
||||||
STAT.piece=STAT.piece+1
|
STAT.piece=STAT.piece+1
|
||||||
STAT.row=STAT.row+cc
|
STAT.row=STAT.row+cc
|
||||||
if atk>0 then
|
if atk>0 then
|
||||||
@@ -2552,7 +2559,7 @@ do--player.drop(P)--Place piece
|
|||||||
end
|
end
|
||||||
|
|
||||||
--Drop event
|
--Drop event
|
||||||
_=P.gameEnv.dropPiece
|
_=ENV.dropPiece
|
||||||
if _ then _(P)end
|
if _ then _(P)end
|
||||||
|
|
||||||
--Stereo SFX
|
--Stereo SFX
|
||||||
@@ -3083,6 +3090,7 @@ function PLY.newDemoPlayer(id,x,y,size)
|
|||||||
smooth=setting.smooth,
|
smooth=setting.smooth,
|
||||||
grid=setting.grid,
|
grid=setting.grid,
|
||||||
text=setting.text,
|
text=setting.text,
|
||||||
|
score=setting.score,
|
||||||
lockFX=setting.lockFX,
|
lockFX=setting.lockFX,
|
||||||
dropFX=setting.dropFX,
|
dropFX=setting.dropFX,
|
||||||
moveFX=setting.moveFX,
|
moveFX=setting.moveFX,
|
||||||
|
|||||||
Reference in New Issue
Block a user