0.9.1:next音效
This commit is contained in:
@@ -5,10 +5,11 @@ local s={
|
||||
ihs=true,irs=true,ims=true,
|
||||
reTime=4,
|
||||
maxNext=6,
|
||||
autoPause=true,
|
||||
quickR=true,
|
||||
swap=true,
|
||||
fine=false,
|
||||
autoPause=true,
|
||||
spawn=false,
|
||||
lang=1,
|
||||
skinSet=1,
|
||||
skin={1,5,8,2,10,3,7,1,5,1,5,8,2,10,3,7,10,7,8,2,8,2,1,5,3},
|
||||
@@ -32,9 +33,11 @@ local s={
|
||||
powerInfo=false,
|
||||
|
||||
--sound
|
||||
sfx=10,bgm=7,
|
||||
vib=0,voc=0,
|
||||
sfx=10,
|
||||
bgm=7,
|
||||
stereo=6,
|
||||
vib=0,
|
||||
voc=0,
|
||||
|
||||
--virtualkey
|
||||
VKSFX=3,--SFX volume
|
||||
|
||||
@@ -1348,6 +1348,9 @@ function player.hold(P,ifpre)
|
||||
P:freshgho()
|
||||
P.dropDelay,P.lockDelay,P.freshTime=P.gameEnv.drop,P.gameEnv.lock,max(P.freshTime-5,0)
|
||||
if P:ifoverlap(P.cur.bk,P.curX,P.curY)then P:lock()P:lose()end
|
||||
if P.human and setting.spawn then
|
||||
SFX.play("spawn_"..C.id)
|
||||
end
|
||||
end
|
||||
|
||||
if P.human then
|
||||
@@ -1403,6 +1406,9 @@ function player.popNext(P)--pop next queue to hand
|
||||
end
|
||||
|
||||
if _[6]then P.act.hardDrop(P)_[6]=false end--IHdS
|
||||
if P.human and setting.spawn then
|
||||
SFX.play("spawn_"..P.cur.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
function player.drop(P)--Place piece
|
||||
|
||||
@@ -21,6 +21,7 @@ local list={
|
||||
"text_bone(mrz)",
|
||||
"colored_bone(mrz)",
|
||||
"white_bone(mrz)",
|
||||
"WTF",
|
||||
}
|
||||
local SKIN={}
|
||||
SKIN.lib={}
|
||||
|
||||
@@ -56,7 +56,6 @@ Future outlook:
|
||||
mine sweeper
|
||||
tank battle
|
||||
简易防沉迷系统
|
||||
"next" SFX
|
||||
full-key control
|
||||
touch-drag control
|
||||
cool backgrounds
|
||||
@@ -71,12 +70,15 @@ Future outlook:
|
||||
network game
|
||||
new AI: task-Z
|
||||
|
||||
0.9.1: Bug fixed
|
||||
0.9.1: next piece SFX
|
||||
new:
|
||||
next piece spawn SFX
|
||||
code:
|
||||
render background to canvas first, not redering each frame
|
||||
fixed:
|
||||
error when moving [nothing] when arr>0
|
||||
error when complete master-advanced
|
||||
|
||||
0.9.0: Custom Sequence Update
|
||||
new:
|
||||
custom sequence
|
||||
|
||||
Reference in New Issue
Block a user