添加flore语音包
支持消6以上的语音
This commit is contained in:
@@ -26,6 +26,7 @@ return {
|
||||
P.garbageBeneath=P.garbageBeneath-bonus
|
||||
end
|
||||
end
|
||||
P:freshBlock('push')
|
||||
end
|
||||
end,
|
||||
}
|
||||
@@ -250,7 +250,7 @@ end
|
||||
function royaleLevelup()
|
||||
GAME.stage=GAME.stage+1
|
||||
local spd
|
||||
TEXT.show(text.royale_remain:gsub("$1",#PLY_ALIVE),640,200,40,'beat',.3)
|
||||
TEXT.show(text.royale_remain:repD(#PLY_ALIVE),640,200,40,'beat',.3)
|
||||
if GAME.stage==2 then
|
||||
spd=30
|
||||
elseif GAME.stage==3 then
|
||||
|
||||
@@ -67,7 +67,7 @@ function Player:popScore(score)
|
||||
end
|
||||
end
|
||||
function Player:stageComplete(stage)
|
||||
self:_showText(text.stage:gsub("$1",stage),0,-120,60,'fly',1.26)
|
||||
self:_showText(text.stage:repD(stage),0,-120,60,'fly',1.26)
|
||||
end
|
||||
function Player:createLockFX()
|
||||
if self.gameEnv.lockFX then
|
||||
@@ -1505,7 +1505,7 @@ do
|
||||
local reDef={0,1,1,2,3,3,4,4,5}
|
||||
|
||||
local spinVoice={'zspin','sspin','jspin','lspin','tspin','ospin','ispin','zspin','sspin','pspin','qspin','fspin','espin','tspin','uspin','vspin','wspin','xspin','jspin','lspin','rspin','yspin','nspin','hspin','ispin','ispin','cspin','ispin','ospin'}
|
||||
local clearVoice={'single','double','triple','techrash','pentacrash','hexacrash'}
|
||||
local clearVoice={'single','double','triple','techrash','pentacrash','hexacrash','heptacrash','octacrash','nonacrash','decacrash','undecacrash','dodecacrash','tridecacrash','tetradecacrash','pentadecacrash','hexadecacrash','heptadecacrash','octadecacrash','nonadecacrash','ultracrash','impossicrash'}
|
||||
local spinSFX={[0]='spin_0','spin_1','spin_2'}
|
||||
local renSFX={} for i=1,11 do renSFX[i]='ren_'..i end
|
||||
local finesseList={
|
||||
@@ -2106,8 +2106,11 @@ do
|
||||
local _cc,_gbcc=self:_checkClear(self.field,start,height)
|
||||
if _cc>0 then
|
||||
playClearSFX(_cc)
|
||||
if self.sound then
|
||||
VOC.play(clearVoice[min(_cc,21)],VOC.getFreeChannel())
|
||||
end
|
||||
self:showText(text.clear[min(_cc,21)],0,0,75,'beat',.4)
|
||||
if _cc>6 then self:showText(text.cleared:gsub("$1",_cc),0,55,30,'zoomout',.4) end
|
||||
if _cc>6 then self:showText(text.cleared:repD(_cc),0,55,30,'zoomout',.4) end
|
||||
self:_removeClearedLines()
|
||||
self:_updateFalling(self.gameEnv.fall)
|
||||
if _cc>=4 then
|
||||
|
||||
@@ -46,10 +46,11 @@ end
|
||||
function scene.draw()
|
||||
gc.setColor(1,1,1)
|
||||
gc.push('transform')
|
||||
local clickTime=TIME()-last1
|
||||
if vocPack=="miya" then
|
||||
gc.translate(780,340+6*sin(TIME()*.5))
|
||||
gc.draw(IMG.miyaGlow,-4,-4)
|
||||
if TIME()-last1<1 then
|
||||
if clickTime<1 then
|
||||
if TIME()%60>30 then
|
||||
gc.draw(IMG.miyaCH3)
|
||||
else
|
||||
@@ -61,16 +62,19 @@ function scene.draw()
|
||||
gc.draw(IMG.miyaCH2)
|
||||
end
|
||||
gc.translate(0,-6*sin(TIME()*.5))
|
||||
gc.setColor(1,1,1,1-(TIME()-last1))
|
||||
gc.setColor(1,1,1,1-(clickTime))
|
||||
gc.draw(IMG.miyaHeart,162,52,nil,.3)
|
||||
elseif vocPack=="mono" then
|
||||
local jump=math.max(30-(TIME()-last1)*60,0)%10
|
||||
local jump=math.max(30-(clickTime)*60,0)%10
|
||||
gc.translate(730,340+6*sin(TIME()*.5)+(jump-10)*jump*.3)
|
||||
gc.draw(IMG.monoCH)
|
||||
elseif vocPack=="xiaoya" then
|
||||
gc.translate(770,340+4*sin(TIME()*.5))
|
||||
gc.draw(IMG.xiaoyaCH)
|
||||
gc.draw(IMG.xiaoyaOmino,16,168,26/(1+TIME()-last1),.36,.36,33,37)
|
||||
gc.draw(IMG.xiaoyaOmino,16,168,26/(1+clickTime),.36,.36,33,37)
|
||||
elseif vocPack=="flore" then
|
||||
gc.translate(770+56*sin(clickTime*26)/(clickTime+.56)^2/20,300+12*sin(TIME()*.5))
|
||||
gc.draw(IMG.floreCH,nil,nil,nil)
|
||||
elseif vocPack=="miku" then
|
||||
gc.translate(700,320+12*sin(TIME()*.5))
|
||||
gc.draw(IMG.mikuCH,nil,nil,nil,.8)
|
||||
|
||||
Reference in New Issue
Block a user