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