移除sad和egg两条语音
修正之前有个语音包文件夹名忘了改
This commit is contained in:
2
main.lua
2
main.lua
@@ -246,7 +246,7 @@ VOC.init{
|
||||
'mini','b2b','b3b',
|
||||
'perfect_clear','half_clear',
|
||||
'win','lose','bye',
|
||||
'test','happy','doubt','sad','egg',
|
||||
'test','happy','doubt',
|
||||
'welcome_voc',
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,6 @@
|
||||
local gc=love.graphics
|
||||
|
||||
local sin=math.sin
|
||||
local rnd=math.random
|
||||
|
||||
local scene={}
|
||||
|
||||
@@ -30,11 +29,7 @@ function scene.mouseDown(x,y)
|
||||
if t>2.6 and t<3 and not GAME.playing then
|
||||
loadGame('sprintSmooth',true)
|
||||
else
|
||||
VOC.play(
|
||||
(t<1.5 or t>15)and"doubt"or
|
||||
rnd()<.8 and"happy"or
|
||||
"egg"
|
||||
)
|
||||
VOC.play((t<1.26 or t>6.26)and'doubt'or'happy')
|
||||
last=TIME()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user