新背景:welcome(用于final和生存极限)
This commit is contained in:
@@ -203,6 +203,48 @@ back.fan={
|
|||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
back.welcome={
|
||||||
|
init=function()
|
||||||
|
t=rnd()*2600
|
||||||
|
txt=gc.newText(_G.getFont(80),"Welcome To Techmino")
|
||||||
|
end,
|
||||||
|
resize=function()
|
||||||
|
W,H=SCR.w,SCR.h
|
||||||
|
end,
|
||||||
|
update=function(dt)
|
||||||
|
t=t+dt
|
||||||
|
end,
|
||||||
|
draw=function()
|
||||||
|
if -t%13.55<.1 then
|
||||||
|
gc.clear(.2+.1*sin(t),.2+.1*sin(1.26*t),.2+.1*sin(1.626*t))
|
||||||
|
else
|
||||||
|
gc.clear(.1,.1,.1)
|
||||||
|
end
|
||||||
|
gc.push("transform")
|
||||||
|
gc.replaceTransform(_G.xOy)
|
||||||
|
gc.translate(640,360)
|
||||||
|
if -t%18.26<1 then
|
||||||
|
gc.scale(6.26)
|
||||||
|
gc.translate(-t*400%800-400,0)
|
||||||
|
else
|
||||||
|
gc.scale(1.1626,1.26)
|
||||||
|
end
|
||||||
|
if -t%12.6<.1 then
|
||||||
|
gc.translate(60*sin(t*.26),100*sin(t*.626))
|
||||||
|
end
|
||||||
|
if -t%16.26<.1 then
|
||||||
|
gc.rotate(t+5*sin(.26*t)+5*sin(.626*t))
|
||||||
|
end
|
||||||
|
gc.setColor(.3,.6,.7)
|
||||||
|
gc.draw(txt,-883*.5+4*sin(t*.7942),-110*.5+4*sin(t*.7355))
|
||||||
|
gc.setColor(.6,.8,1)
|
||||||
|
gc.draw(txt,-883*.5+2*sin(t*.77023),-110*.5+2*sin(t*.7026))
|
||||||
|
gc.setColor(1,1,1)
|
||||||
|
gc.draw(txt,-883*.5+3*sin(t*.7283),-110*.5+3*sin(t*.7626))
|
||||||
|
gc.pop()
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
back.aura={
|
back.aura={
|
||||||
init=function()
|
init=function()
|
||||||
t=rnd()*2600
|
t=rnd()*2600
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ local CUSlist={
|
|||||||
opponent={0,1,2,3,4,5,6,7,8,9,10},
|
opponent={0,1,2,3,4,5,6,7,8,9,10},
|
||||||
life={0,1,2,3,5,10,15,26,42,87,500},
|
life={0,1,2,3,5,10,15,26,42,87,500},
|
||||||
pushSpeed={1,2,3,5,15},
|
pushSpeed={1,2,3,5,15},
|
||||||
bg={"none","grey","glow","rgb","flink","wing","fan","aura","bg1","bg2","rainbow","rainbow2","lightning","lightning2","matrix","space"},
|
bg={"none","grey","glow","rgb","flink","wing","fan","welcome","aura","bg1","bg2","rainbow","rainbow2","lightning","lightning2","matrix","space"},
|
||||||
bgm=BGM.list,
|
bgm=BGM.list,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ return{
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="aura",bgm="far",
|
bg="welcome",bgm="far",
|
||||||
},
|
},
|
||||||
slowMark=true,
|
slowMark=true,
|
||||||
load=function()
|
load=function()
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ return{
|
|||||||
P.modeData.event=P.modeData.event+1
|
P.modeData.event=P.modeData.event+1
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
bg="rgb",bgm="storm",
|
bg="welcome",bgm="storm",
|
||||||
},
|
},
|
||||||
pauseLimit=true,
|
pauseLimit=true,
|
||||||
load=function()
|
load=function()
|
||||||
|
|||||||
Reference in New Issue
Block a user