重命名大多数背景

This commit is contained in:
MrZ_26
2020-08-15 17:23:59 +08:00
parent f26888beaa
commit 6cccf2604c
38 changed files with 47 additions and 47 deletions

View File

@@ -77,7 +77,7 @@ back.aura={
gc.setShader() gc.setShader()
end, end,
}--Cool liquid background }--Cool liquid background
back.game1={ back.bg1={
init=function() init=function()
t=0 t=0
BG.resize(scr.w) BG.resize(scr.w)
@@ -95,7 +95,7 @@ back.game1={
gc.setShader() gc.setShader()
end, end,
}--Horizonal red-blue gradient }--Horizonal red-blue gradient
back.game2={ back.bg2={
init=function() init=function()
t=0 t=0
BG.resize(nil,scr.h) BG.resize(nil,scr.h)
@@ -113,7 +113,7 @@ back.game2={
gc.setShader() gc.setShader()
end, end,
}--Vertical red-green gradient }--Vertical red-green gradient
back.game3={ back.rainbow={
init=function() init=function()
t=0 t=0
BG.resize(scr.w,scr.h) BG.resize(scr.w,scr.h)
@@ -132,7 +132,7 @@ back.game3={
gc.setShader() gc.setShader()
end, end,
}--Colorful RGB }--Colorful RGB
back.game4={ back.rainbow2={
init=function() init=function()
t=0 t=0
BG.resize(scr.w,scr.h) BG.resize(scr.w,scr.h)
@@ -151,7 +151,7 @@ back.game4={
gc.setShader() gc.setShader()
end, end,
}--Blue RGB }--Blue RGB
back.game5={ back.lightning={
init=function() init=function()
t=0 t=0
end, end,
@@ -168,7 +168,7 @@ back.game5={
local blocks=require("parts/mino") local blocks=require("parts/mino")
local scs=require("parts/spinCenters") local scs=require("parts/spinCenters")
back.game6={ back.lightning2={
init=function() init=function()
t=0 t=0
colorLib=_G.SKIN.libColor colorLib=_G.SKIN.libColor

View File

@@ -197,7 +197,7 @@ function sceneInit.setting_control()
dir=1, dir=1,
wait=30, wait=30,
} }
BG.set("game1") BG.set("bg1")
end end
function sceneInit.setting_key() function sceneInit.setting_key()
sceneTemp={ sceneTemp={
@@ -207,7 +207,7 @@ function sceneInit.setting_key()
} }
end end
function sceneInit.setting_touch() function sceneInit.setting_touch()
BG.set("game3") BG.set("rainbow")
sceneTemp={ sceneTemp={
default=1, default=1,
snap=1, snap=1,
@@ -264,7 +264,7 @@ function sceneInit.stat()
end end
end end
function sceneInit.history() function sceneInit.history()
BG.set("game3") BG.set("rainbow")
sceneTemp={ sceneTemp={
text=require("parts/updateLog"),--Text list text=require("parts/updateLog"),--Text list
pos=1,--Scroll pos pos=1,--Scroll pos

View File

@@ -34,7 +34,7 @@ return{
end end
end end
end, end,
bg="game4",bgm="way", bg="rainbow2",bgm="way",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -43,7 +43,7 @@ return{
end end
end end
end, end,
bg="game4",bgm="shining terminal", bg="rainbow2",bgm="shining terminal",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -13,7 +13,7 @@ return{
hold=false, hold=false,
dropPiece=function(P)P:lose()end, dropPiece=function(P)P:lose()end,
task=nil, task=nil,
bg="game1",bgm="newera", bg="bg1",bgm="newera",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -37,7 +37,7 @@ return{
end end
end end
end, end,
bg="game4",bgm="shining terminal", bg="rainbow2",bgm="shining terminal",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -37,7 +37,7 @@ return{
end end
end end
end, end,
bg="game4",bgm="way", bg="rainbow2",bgm="way",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -16,7 +16,7 @@ return{
D.event=D.event+1 D.event=D.event+1
end end
end, end,
bg="game2",bgm="way", bg="bg2",bgm="way",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -15,7 +15,7 @@ return{
D.event=D.event+1 D.event=D.event+1
end end
end, end,
bg="game2",bgm="shining terminal", bg="bg2",bgm="shining terminal",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -21,7 +21,7 @@ return{
mindas=7,minarr=1,minsdarr=1, mindas=7,minarr=1,minsdarr=1,
drop=.5,wait=8,fall=20, drop=.5,wait=8,fall=20,
target=50,dropPiece=check, target=50,dropPiece=check,
bg="game2",bgm="push", bg="bg2",bgm="push",
}, },
pauseLimit=true, pauseLimit=true,
slowMark=true, slowMark=true,

View File

@@ -20,7 +20,7 @@ return{
wait=8,fall=20, wait=8,fall=20,
target=10,dropPiece=check_LVup, target=10,dropPiece=check_LVup,
mindas=7,minarr=1,minsdarr=1, mindas=7,minarr=1,minsdarr=1,
bg="game2",bgm="push", bg="bg2",bgm="push",
}, },
pauseLimit=true, pauseLimit=true,
slowMark=true, slowMark=true,

View File

@@ -17,7 +17,7 @@ local function score(P)
--Level up! --Level up!
local s=P.modeData.event+1;P.modeData.event=s local s=P.modeData.event+1;P.modeData.event=s
local E=P.gameEnv local E=P.gameEnv
BG.set(s==1 and"game3"or s==2 and"game4"or s==3 and"game5"or s==4 and"game6"or"game5") BG.set(s==1 and"rainbow"or s==2 and"rainbow2"or s==3 and"lightning"or s==4 and"lightning2"or"lightning")
E.lock=death_lock[s] E.lock=death_lock[s]
E.wait=death_wait[s] E.wait=death_wait[s]
E.fall=death_fall[s] E.fall=death_fall[s]
@@ -44,7 +44,7 @@ return{
fall=death_fall[1], fall=death_fall[1],
dropPiece=score, dropPiece=score,
freshLimit=15, freshLimit=15,
bg="game2",bgm="secret7th", bg="bg2",bgm="secret7th",
}, },
slowMark=true, slowMark=true,
load=function() load=function()

View File

@@ -16,7 +16,7 @@ local function score(P)
--Level up! --Level up!
local s=P.modeData.event+1;P.modeData.event=s local s=P.modeData.event+1;P.modeData.event=s
local E=P.gameEnv local E=P.gameEnv
BG.set(s==1 and"game1"or s==2 and"game2"or s==3 and"game3"or "game4") BG.set(s==1 and"bg1"or s==2 and"bg2"or s==3 and"rainbow"or "rainbow2")
E.lock=rush_lock[s] E.lock=rush_lock[s]
E.wait=rush_wait[s] E.wait=rush_wait[s]
E.fall=rush_fall[s] E.fall=rush_fall[s]
@@ -48,7 +48,7 @@ return{
fall=rush_fall[1], fall=rush_fall[1],
dropPiece=score, dropPiece=score,
freshLimit=15, freshLimit=15,
bg="game1",bgm="secret8th", bg="bg1",bgm="secret8th",
}, },
slowMark=true, slowMark=true,
load=function() load=function()

View File

@@ -46,7 +46,7 @@ return{
dropPiece=score, dropPiece=score,
freshLimit=15, freshLimit=15,
easyFresh=false,bone=true, easyFresh=false,bone=true,
bg="none",bgm="distortion", bg="lightning",bgm="distortion",
}, },
slowMark=true, slowMark=true,
load=function() load=function()

View File

@@ -16,7 +16,7 @@ return{
drop=1e99,lock=1e99, drop=1e99,lock=1e99,
oncehold=false, oncehold=false,
dropPiece=update_round, dropPiece=update_round,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -16,7 +16,7 @@ return{
drop=1e99,lock=1e99, drop=1e99,lock=1e99,
oncehold=false, oncehold=false,
dropPiece=update_round, dropPiece=update_round,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -16,7 +16,7 @@ return{
drop=1e99,lock=1e99, drop=1e99,lock=1e99,
oncehold=false, oncehold=false,
dropPiece=update_round, dropPiece=update_round,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -16,7 +16,7 @@ return{
drop=1e99,lock=1e99, drop=1e99,lock=1e99,
oncehold=false, oncehold=false,
dropPiece=update_round, dropPiece=update_round,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -16,7 +16,7 @@ return{
drop=1e99,lock=1e99, drop=1e99,lock=1e99,
oncehold=false, oncehold=false,
dropPiece=update_round, dropPiece=update_round,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -3,7 +3,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
freshLimit=15, freshLimit=15,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -3,7 +3,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
freshLimit=15, freshLimit=15,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -3,7 +3,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
freshLimit=15, freshLimit=15,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -3,7 +3,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
freshLimit=15, freshLimit=15,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -3,7 +3,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
freshLimit=15, freshLimit=15,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
pauseLimit=true, pauseLimit=true,
load=function() load=function()

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=10,dropPiece=PLY.reach_winCheck, target=10,dropPiece=PLY.reach_winCheck,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=100,dropPiece=PLY.reach_winCheck, target=100,dropPiece=PLY.reach_winCheck,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=1000,dropPiece=PLY.reach_winCheck, target=1000,dropPiece=PLY.reach_winCheck,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=20,dropPiece=PLY.reach_winCheck, target=20,dropPiece=PLY.reach_winCheck,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=40,dropPiece=PLY.reach_winCheck, target=40,dropPiece=PLY.reach_winCheck,
bg="game2",bgm="race", bg="bg2",bgm="race",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -5,7 +5,7 @@ return{
env={ env={
drop=60,lock=60, drop=60,lock=60,
target=400,dropPiece=PLY.reach_winCheck, target=400,dropPiece=PLY.reach_winCheck,
bg="game3",bgm="push", bg="rainbow",bgm="push",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -24,7 +24,7 @@ return{
Fkey=selectTarget, Fkey=selectTarget,
pushSpeed=2, pushSpeed=2,
freshLimit=15, freshLimit=15,
bg="game3",bgm="rockblock", bg="rainbow",bgm="rockblock",
}, },
load=function() load=function()
royaleData={ royaleData={

View File

@@ -4,7 +4,7 @@ return{
drop=120,lock=120, drop=120,lock=120,
oncehold=false,target=200, oncehold=false,target=200,
dropPiece=PLY.reach_winCheck, dropPiece=PLY.reach_winCheck,
bg="game2",bgm="infinite", bg="bg2",bgm="infinite",
}, },
load=function() load=function()
PLY.newPlayer(1,340,15) PLY.newPlayer(1,340,15)

View File

@@ -168,7 +168,7 @@ customRange={
target={10,20,40,100,200,500,1000,1e99}, target={10,20,40,100,200,500,1000,1e99},
freshLimit={0,8,15,1e99}, freshLimit={0,8,15,1e99},
opponent={0,1,2,3,4,5,11,12,13,14,15,16}, opponent={0,1,2,3,4,5,11,12,13,14,15,16},
bg={"none","game1","game2","game3","aura","rgb","glow","matrix"}, bg={"none","bg1","bg2","rainbow","aura","rgb","glow","matrix"},
bgm={"blank","way","race","newera","push","reason","infinite","secret7th","secret8th","rockblock"}, bgm={"blank","way","race","newera","push","reason","infinite","secret7th","secret8th","rockblock"},
} }
local function T(s,t)return love.graphics.newText(setFont(s),t)end local function T(s,t)return love.graphics.newText(setFont(s),t)end