新增BGM:mXmas
This commit is contained in:
2
main.lua
2
main.lua
@@ -206,6 +206,8 @@ BGM.init{
|
|||||||
|
|
||||||
"sugar fairy","rockblock","magicblock",--classic, 49/99
|
"sugar fairy","rockblock","magicblock",--classic, 49/99
|
||||||
"cruelty","final","8-bit happiness","end","how feeling",--49/99
|
"cruelty","final","8-bit happiness","end","how feeling",--49/99
|
||||||
|
|
||||||
|
"mXmas",--Festival: Xmas
|
||||||
}
|
}
|
||||||
VOC.init{
|
VOC.init{
|
||||||
"zspin","sspin","lspin","jspin","tspin","ospin","ispin",
|
"zspin","sspin","lspin","jspin","tspin","ospin","ispin",
|
||||||
|
|||||||
BIN
media/BGM/mXmas.ogg
Normal file
BIN
media/BGM/mXmas.ogg
Normal file
Binary file not shown.
@@ -28,7 +28,7 @@ function scene.sceneInit()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function scene.sceneBack()
|
function scene.sceneBack()
|
||||||
BGM.play("blank")
|
BGM.play(FESTIVAL=="Xmas"and"mXmas"or"blank")
|
||||||
end
|
end
|
||||||
|
|
||||||
function scene.keyDown(key)
|
function scene.keyDown(key)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ local t1,t2,r
|
|||||||
|
|
||||||
function scene.sceneInit()
|
function scene.sceneInit()
|
||||||
BG.set()
|
BG.set()
|
||||||
BGM.play("blank")
|
BGM.play(FESTIVAL=="Xmas"and"mXmas"or"blank")
|
||||||
t1,t2=0,0--Timer
|
t1,t2=0,0--Timer
|
||||||
r={}--Random animation type
|
r={}--Random animation type
|
||||||
for i=1,8 do r[i]=rnd(5)end
|
for i=1,8 do r[i]=rnd(5)end
|
||||||
|
|||||||
Reference in New Issue
Block a user